<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 06/10/2011 12:37, Regis d'Aubarede wrote:
<blockquote
cite="mid:ac8a7625ff00e0193e795c91e29f48ea / ruby-forum.com"
type="cite">
<pre wrap="">Hello,
When I develop some administration scripts and distribute them to
my colleague, we often encounter issues: I must write a readme or
an email for explain what to do for use them:
mkdir, gem install ¡Ä
Why 'require X' instruction do not make a 'gem install X' when
the gem is not installed ?
With (red) Shoes, we got "Shoes.setup { gem 'json_pure' } ", this is
really useful for non-native gem !
Sincerely,
Regis d'Aubarede
http://regisaubarede.posterous.com/
</pre>
</blockquote>
Hello,<br>
<br>
IMHO a such tool would be really dangerous, and not so useful:<br>
the best option is to allow users to install everything in 1
command.<br>
<br>
You should try Bundler : even if you don't want to use it in your<br>
application, you can provide a Gemfile (and, even better, a<br>
Gemfile.lock) then user will be able to use it with "bundle
install."<br>
<br>
An other way is to create a rake task which does to job.<br>
<br>
Regards,<br>
<br>
-- <br>
¥Æ±Õienne Vallette d'Osia<br>
</body>
</html>