Re: gem error: (Errno::EACCES) Permission denied

195 views
Skip to first unread message

mahendra Somavarapu R.

unread,
Feb 26, 2011, 3:47:31 AM2/26/11
to rubyonra...@googlegroups.com
I am using microsoft XP Pro-SP3 and I am facing this problem.

C:\Ruby192>gem install rails --include-dependencies
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - C:/Documents and Settings/admin/.gem/specs

Please help to complete with any idea.

i am already an admin in my system?

And I also tried with ctrl+shift+enter ... no use. :(

--
Posted via http://www.ruby-forum.com/.

Norbert Melzer

unread,
Mar 8, 2011, 4:35:50 AM3/8/11
to rubyonra...@googlegroups.com

Are you AN admin or are you THE admin? Gem tries to install in a directory of the user named admin, if your logged in user is named mahendra and has admin rights that is probably not enough.

Also please check if the directory exists and check the permissions on that directory.

Top posted from android

> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
>

Gupta Grandhi

unread,
Jan 21, 2014, 7:50:55 AM1/21/14
to rubyonra...@googlegroups.com
Hi


I am installing canvasLms on Ubuntu .In this installation ruby 1.9.1 and
gem and bundler installation is required .
1) I was install ruby 1.9.1 it is installed successfully.
2)After i am installing gem it is installed
sudo gem install bundler --version 1.3.5 it is installed but when i
installed with out sudo it shows error : gem error: (Errno::EACCES)
Permission denied .
2) when i install #sudo bundle install --path vendor/bundle
--without=sqlite
It gives error.

bundler:Gem file not found
please give me what's a solution .please give me any suggestion

Thanking you
Reply all
Reply to author
Forward
0 new messages