Hmmm, I don't see anything wrong in the output you showed there, possibly some of it got cut off. Perhaps you still need to install and use a ruby.
I would also really really recommend against trying to port all your gems over from your system ruby, especially copying actual gems from one version of ruby to another. The idea behind gemsets is to avoid having that mess of gems accumulate on your system from multiple projects. And ideally you would use bundler or rake gems:install to install all the gems for a specific project. This also helps ensure your project is defining all the gems it needs for deployment. It's also helpful to use the global gemset to add gems that you want to have available for all gemsets in a ruby. So here's an example of how I would setup a new ruby and project in rvm: # Sounds like you're using ruby 1.8.7 % rvm install ruby-1.8.7 % rvm use ruby-1.8.7 # Swith to global gemset to install some sensible global gems % rvm gemset use global % gem install bundler gemcutter jeweler git capistrano-ext heroku mysql # Create your project gemset and then install *only* gems for that project % rvm gemset create bigdealproject % rake gems:install (or bundle install... even better, and works with RVM) % gem install any other gems for your project # Then the contents of your .rvmrc should be something like rvm use ruby-1....@bigdealproject Hope this helps, Peter On Thu, May 20, 2010 at 11:08 PM, Chris McCann <[email protected]>wrote: > Peter, > > After reading about the project-specific .rvmrc file I definitely see > the benefit of that approach. The one thing I haven't figured out, > though, is how to make rvm aware of all the gems that are currently on > my system. I really don't want to install all of them again. > > I tried the last example at > http://rvm.beginrescueend.com/workflow/examples/ > about installing gems from the system directory but it's not working > and I suspect it's because of the changes I made in trying to get > 1.8.7 running. When I run the "rvm system" command and then "rvm > info": > > system: > > system: > uname: "Darwin Chris-Macbook.local 9.8.0 Darwin Kernel > Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/ > RELEASE_I386 i386" > shell: "bash" > version: "3.2.17(1)-release" > > And this isn't what I expected at all, so something is amiss. > > I'll keep digging. > > Chris > > > The killer feature in RVM is gemsets. Just drop a .rvmrc file in a > project > > folder and when you cd to that folder it will automatically change to the > > defined ruby version and gemset for that project. > > > > So... > > > > % cd /path/to/my/rails3project > > Using ruby 1.9.2 head with gemset myrails3project > > [master]% > > > > Have fun, > > Peter > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > -- Peter Gumeson [email protected] -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
