- Don't type in the <> Just put whatever you want to use in there like the particular Rails version.
- Don't type in the $ This means type it in your terminal.
$ rvm list - lists rubies
rvm rubies
ruby-1.9.3-p545 [ x86_64 ]
ruby-2.0.0-p451 [ x86_64 ]
=* ruby-2.1.1 [ x86_64 ]
# => - current # =* - current && default # * - default
ruby-1.9.3-p545 [ x86_64 ]
ruby-2.0.0-p451 [ x86_64 ]
=* ruby-2.1.1 [ x86_64 ]
# => - current # =* - current && default # * - default
$ rvm use ruby 2.1.0-p547 (p means patch)
$ rvm gemset list
gemsets for ruby-2.1.1 (found in /home/user/.rvm/gems/ruby-2.1.1)
(default)
global
L(default)
global
rvm gemset use <rails 4.0>
rvm gemset create <name> - (for example: name = rails -v 4.0.4)
L
rvm gemset use
rvm install
L
rvm use <ruby>
No comments:
Post a Comment