Rvm 2 1 1 gem install rails v 4 1 0 rvm gemset create rails410 rails320 gemset rails410 created.
Rvm install rubygems.
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.
Pkg install runtime ruby.
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.
Note that for each of the ruby installs above you can have completely separate versions.
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.
Rvm does try to install rubygems wrong.
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.
However the third party tools might be a good way to obtain the latest version of ruby.
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.
Rvm remove is the preferred way of removing rubies from rvm.
Probably the easiest way would be to download bundler too.
This will install the ruby binaries and rubygems directly from the openindiana repositories.
As submodule but with how rvm does download it with the tgz way it does miss it.
To install without rubygems bundler and rvm gems and also remove those gems from both global gems and default gems.
Rvm ruby version manager.
It now has a repository with bundler inside.
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.
Rvm rubygems remove same ruby version with different rubygem versions.