rvm list gemsets shows the install rvm gemsets list and
rvm gemset list shows the list of gemsets for specific selected rvm gemsets.
Is it the right explanation?
Please help me to clear this means correct explanation, when to use and how it is helpful?
Thanks for your input.
rvm list gemsets shows the all created rvm gemsets list for all ruby versions.
for example
ruby-1.9.3@a [ i686 ]
ruby-1.9.3@b [ i686 ]
ruby-1.9.3@c [ i686 ]
ruby-2.0.0@a [ i686 ]
ruby-2.0.0@b [ i686 ]
ruby-2.0.0@c [ i686 ]
ruby-2.1.0@a [ i686 ]
ruby-2.1.0@b [ i686 ]
ruby-2.1.0@c [ i686 ]
=> ruby-2.1.2@d [ i686 ]
rvm gemset list shows the list of gemsets for current ruby versions.
for example
gemsets for ruby-2.1.2 (found in /home/rails/.rvm/gems/ruby-2.1.2)
(default)
a
b
c
=> d
rvm list
=* ruby-2.0.0-p451 [ x86_64 ]
*
ruby-2.1.1 [ x86_64 ]
# => - current
# =* - current && default
# * - default
rvm list gemsets
ruby-2.0.0-p451
has got rails3, rails3.2ruby-2.1.0@rails4
[ x86_64 ] has rails4 as lone gemset.rvm gemsets => ruby-2.0.0-p451 [ x86_64 ] ruby-2.0.0-p451@global [ x86_64 ] ruby-2.0.0-p451@rails3 [ x86_64 ] [email protected] [ x86_64 ] ruby-2.1.1 [ x86_64 ] ruby-2.1.1@global [ x86_64 ] ruby-2.1.0@rails4 [ x86_64 ]
rvm gemset list
It would list the current rvm's gemsets
eg:
1. using rvm ruby-2.0.0-p451
$ rvm use ruby-2.0.0-p451 $ rvm gemset list gemsets for ruby-2.0.0-p451 (found in /Users/macbook-chanakya/.rvm/gems/ruby-2.0.0-p451)
=>(default) global rails3 rails3.2
2. using rvm ruby-2.1.1
$ rvm use ruby-2.1.1 /Users/macbook-chanakya/.rvm/gems/ruby-2.1.1 $ rvm gemset list gemsets for ruby-2.1.1 (found in /Users/macbook-chanakya/.rvm/gems/ruby-2.1.1) =>(default) global rails4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With