How to create gemsets using rvm

Hi all ive installed rvm 1.8.7 and 1.9.2 when i select rvm 1.8.7 and
when i
try to create a gem set and install gems it is not installing it is
asking
from permissions. if i use sudo to install gems and then when i type gem
list i can’t any gem . where did i go wrong . correct me

Thanks in advance

Did you follow the rvm site tutorial? Ig not please try by there!

Sent from my iPhone

ive gone through rvm site only

updates:
i followed this link
http://screencasts.org/episodes/how-to-use-rvmeverything went fine
other than installing the gems only. i get this
ERROR: While executing gem … (Errno::EACCES)
Permission denied - /home/hanish/.gem/specs
when go with sudo it works but the gem is installing in root.

Thanks in advance

On Mon, Jul 2, 2012 at 6:23 AM, hanish jadala
[email protected] wrote:

everything went fine other than installing the gems only. i get this
ERROR: While executing gem … (Errno::EACCES)
Permission denied - /home/hanish/.gem/specs

So? What are the perms on that directory? You’ve probably messed
them up fiddling with sudo (which you should avoid when using rvm )
but you can change them back to a sane state.


Hassan S. ------------------------ [email protected]

twitter: @hassan

Thank you ive tried in other system it worked but not on my system.ill
remove all the version of ruby and ill try with rvm

I recommend you remove all your ruby version on your system, remove rvm
and
begins from scratch. It is probabily some permission problem, because
you
have a ruby version installed by default in your OS. I guess you are
using
linux, but if not I recommend do the same approach. Remove everything
and
try to install through rvm web site.

if you need any support please ping me.

https://rvm.io/rvm/install/

2012/7/2 hanish jadala [email protected]

You received this message because you are subscribed to the Google
You received this message because you are subscribed to the Google
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en-US.


thiagocifani

twitter.com/thiagocifani
del.icio.us/thiagocifani
http://del.icio.us/thiagocifani

the one thing that i noticed from screen cast that they did not talk
about
is the scope of your rvm and gem installs. you should have rails
installed
on your machine globally before you install it in a gemset or a
.rvmrc environment.

On 3 July 2012 20:52, Kory T. [email protected] wrote:

the one thing that i noticed from screen cast that they did not talk about
is the scope of your rvm and gem installs. you should have rails installed
on your machine globally before you install it in a gemset or a .rvmrc
environment.

It is not necessary (or desirable) to install rails before rvm. Why
do you think it is necessary?

Colin