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
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.
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.
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.
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.
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.
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.