1 <style type=
"text/css">
3 border: 0.1em solid
#666;
4 border-left: 0.2em solid
#666;
5 padding: 0.75em 1em 0.75em 2em;
12 #script_gem_manual li
{
19 script_gem allows you to setup isolated gem environments for your rails
24 It will introduce a top level 'gems' directory which it will be used by
25 your application. This is a normal rubygems installation. All your gem
26 commands will work as normal, and you will be responsible for managing this
27 repository [the script will install rails for you]. The only change in your
28 normal `flow of things` is that you will use './script/gem' when you want
29 to deal with the application's gem environment instead of using a global
36 0.0 - no release yet, look at the commits on the repository for more info.
41 If you have suggestions or patches - or want to drop me a comment:
43 <p style=
"margin-left: 2em;">
44 Naitik Shah
<naitik.shah [_a_t_] yahoo [_d_o_t] com
>
51 gem install script_gem
59 <ul id=
"script_gem_manual">
60 <li>[...cd into your app directory]
</li>
61 <li>script_gem bootstrap
</li>
69 One issue that arises when having isolated gem environments is that you
70 would have to keep downloading the gems over and over again. To solve this
71 issue, script gem will share the gem cache directory. This potentially
72 involves reusing your existing gem cache directory if its writable by the
73 current user. The fallback is to create a new shared cache directory as
74 $HOME/.script_gem/cache. If you want to force a the fallback, explicitly
75 create that directory (mkdir -p ~/.script_gem/cache) before running the
85 Go to your application RAILS_ROOT and run:
94 Will this affect my existing gem installation?
96 <p style=
"margin-left: 2em;">
97 NO! Well, except for one tiny thing - its cache might be reused. Check the
98 'Shared Cache' section for more info.
102 Will I have to keep downloading all the gems over and over?
104 <p style=
"margin-left: 2em;">
105 NO! Check the 'Shared Cache' section for more info.