Everything going fine with setting up Foundation for Sass except I ran into this error? Can anyone shed some light on it?
I'm on OSX 10.10, git version 2.3.5, ruby 2.1.5p273, node v0.12.2 and Bower 1.4.1.
gem install foundation
My-MacBook-Pro:Desktop me$ gem install foundation
ERROR: While executing gem ... (Errno::EACCES)
Permission denied # rb_sysopen - /Users/me/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/foundation-1.0.4/.gitignore
Cheers, Brock
Related
I'd like to install boring_generators gem in my ruby on rails 6 project in windows 10 os. But I couldn't install it, I got errors like below. I would be grateful if anyone gives me the idea to fix it.
gem install boring_generators
ERROR: While executing gem ... (Errno::EACCES)
Permission denied # rb_file_s_symlink - (../acorn/bin/acorn, C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/boring_generators-0.11.0/tmp/templates/app_template/node_modules/.bin/acorn)
I have installed postgresql, libpq-dev and build-essential. When I ran gem install pg, I got a
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
I tried every solution I found in stackoverflow, but none of them worked. However, now I ran gem install pg, I got a new error
ERROR: While executing gem ... (Errno::EACCES)
Permission denied # rb_sysopen - /home/woyuxuxu123/.rvm/gems/ruby-2.3.3/gems/pg-0.21.0/.gemtest
Could anyone help me on this? I have been stuck on this for a whole afternoon.
Use sudo before installing the gem or update in your system as like this:
sudo apt update
gem install pg
I deleted RVM, because I already had RBENV install. Now I cannot get bundler to work. This caused major issues. When I installed bundler again to run bundle i on my code, it gives me an error and it's looking for RVM.
ERROR: While executing gem ... (Errno::EACCES)
Permission denied # dir_s_mkdir - /usr/local/rvm
Guys I'm trying to install the gem live8 on windows7 but usually after typing the command gem install libv8 -- --with-system-v8
I got this issue
C:\Sites\translation>gem install libv8 -- --with-system-v8
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - C:/Users/compumagic/.gem/specs/rubygems.org%443/latest_s
pecs.4.8
also I opened the command screen as administrator so how I can fixed this issue ?
Solution:
Install Ruby 64 bit
Instal DevKit 64 bit
Update rubygems - gem install rubygems-update
Use: C:\RubyDevKit>gem list for local gems
try with -mingw32 option.
For example:
gem install pg -mingw32
I had the same issue.
I disabled my antivirus and it helped!
I was trying to install ruby on rails in mac.
I have Xcode and gcc compiler installed. When i tried to install git, it showed me the following error:
$:~ gem install git
$ ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /Library/Ruby/Gems/1.8/gems/git-1.2.5
I changed the permissions of my 1.8 and gems directory. Still it is showing the same error. Any suggestions?
Have you tried with sudo? Try sudo gem install git.
Reference documentation: https://github.com/schacon/ruby-git#install