Skip to navigation
How to run a rails webapp with a different ruby version what is system-wide installed?
06.11.16
1. install RVM a. # gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 b. \curl -sSL https://get.rvm.io | bash -s stable 2. rvm should now be loaded after you login and be accessible with the command rvm if not like in my docker test app, than load it manually with # source /etc/profile 3. show all possible ruby versions # rvm list known 4. install a ruby version # rvm install 1.9.3 5 use a ruby version and run your webapp # rvm use 1.9.3
https://rvm.io/rvm/install
Reply
Anonymous
Creating group 'rvm' Installing RVM to /usr/local/rvm/ Installation of RVM in /usr/local/rvm/ is almost complete: * First you need to add all users that will be using rvm to 'rvm' group, and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`. * To start using RVM you need to run `source /etc/profile.d/rvm.sh` in all your open shell windows, in rare cases you need to reopen all shell windows. # Administrator, # # Thank you for using RVM! # We sincerely hope that RVM helps to make your life easier and more enjoyable!!! # # ~Wayne, Michal & team.
06.11.16
Reply
Anonymous
Information Epoch 1732641391
Distrust all claims for one true way.
Home
Notebook
Contact us