ruby on rails - Loading rvm environment in restored OS X Terminal windows -
If I leave the OS X terminal when the shell is positioned in an RVM-managed directory (i.e., a rail app) , And then restart the terminal, OS X also places the shell in those directories where it was first. However, RVM does not seem to reset gemset in use (eg Gemfile: # ruby-gemset).
Is it just me? Have I lifted something up? (Always possible!)
If other people have the same issue, then has anyone solved it or has worked around?
Currently, I use the A base gemset setup in RVM First If you want to use that gemset as the default, you do the same: The above assumption is that you are using Rabbi 1.9.2-head and You want the gemset to be created just now gemsetnamehere Check the RVM documents here: Also, if you want it for that directory only one in the root of the project. Create the Rvmrc file and include something in it: Hope it helps. CD ~; CD - , and RVM's "CD" implementation sets things up properly but it's a bit annoying. In fact, I did not want the terminal to save the CWD in the first place; So I will only need a
cd
rvm gemset gemsetnamehere
Using RVM 1.9.2-head@gemsetnamehere --default
rvm 1.9.2-head2@gemsetnamehere
Comments
Post a Comment