Rvm 2 1 1 gem install rails v 4 1 0 rvm gemset create rails410 rails320 gemset rails410 created.
Rvm install rubygems.
Rvm ruby version manager.
Probably the easiest way would be to download bundler too.
However the third party tools might be a good way to obtain the latest version of ruby.
Michal papis is working with bundler and rubygems team to integrate this gem so that no extra actions would be needed to avoid bundle exec.
Rvm does try to install rubygems wrong.
Rvm rubygems 1 5 2 in the case of mri 1 9 x a version of rubygems comes built in.
Rvm 2 1 1 rails410 gem install rails v 4 1 0 rvm 2 1 1 rails320 gem install rails v 3 2 0.
Source rvm scripts rvm if path was specified when instaling rvm use the specified path rather than rvm download ruby rubygems and yaml.
Rvm static install 2 1 1 generating documentation in order to conserve space rvm does not automatically generate and install each ruby s ri rdoc.
Note that for each of the ruby installs above you can have completely separate versions.
If you install a different rubygems via the rvm rubygems api and decide to go back to the built in then you can run the following command to remove the different version installed.
Export optflags o0 ggdb rvm install 2 1 1 static mri if you wish to compile an mri ruby 1 9 2 0 2 1 as statically linked instead of dynamically then pass the static flag like so.
Curl ssl https get rvm io bash s stable without gems rvm rubygems bundler to install with hirb gem and also add it to global gems.
This will install the ruby binaries and rubygems directly from the openindiana repositories.
Pkg install runtime ruby.
Rubygems bundler gem default from rvm 1 11 0 one of the solutions for this problem is a gem which makes bundler and rubygems generate binary wrappers that are aware of bundler.
To install without rubygems bundler and rvm gems and also remove those gems from both global gems and default gems.
As submodule but with how rvm does download it with the tgz way it does miss it.
By default not only will it remove the ruby and it s source files it will also get rid of aliases wrappers environments and any associated binaries in other words it cleans up most of the install.