about 5 years ago
If you are using rvm and want to load project specific ruby version and gems automatically when you access the project directory, for this you can use a very simple command
rvm --create --ruby-version use ruby-version-number@gemsetname
rvm --create --ruby-version use ruby-2.2.0@findnerd
If you want the gems to be loaded from the global gemset then in that case
rvm --create --ruby-version use ruby-2.2.0
By using this command you wont have to use rvm command to load a particular gemset or ruby version and you can manage different projects running on different ruby and rails version simultaneously.
Behind the scenes
It basically creates two files -
1 - A .ruby-version file that contains the required ruby version "ruby-2.2.0"
2 - A .ruby-gemset file that contains gemset name in this case "findnerd".
which basically tells rvm to load the required configuration.
I hope this helps anyone trying to cope up with multiple versions of ruby,rails or gem versions.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
© copyright 2017 FindNerd.com. All rights reserved.
Sign up using