Linked Questions
11 questions linked to/from Why do I get a "permission denied" error while installing a gem?
469 votes
33 answers
471k views
rbenv not changing ruby version
I installed rbenv according to the github directions. I am running OSX but I have tried this on a Ubuntu 12.04 VM and got the same results. The following is what i get in my terminal when I try to ...
146 votes
5 answers
27k views
How do RVM and rbenv actually work?
I am interested in how RVM and rbenv actually work. Obviously they swap between different versions of Ruby and gemsets, but how is this achieved? I had assumed they were simply updating symlinks, but ...
8 votes
1 answer
11k views
Permission Error When Trying To Install Rails (OSX)
I am new to programming and am trying to get rails installed on my terminal. I have been following instructions from a friend, installing the xcode command line tools, homebrew, git, rbenv, ruby-build,...
24 votes
4 answers
13k views
Xcode 12 - Download more simulators runtime is empty
I can't add more simulator OS version in XCode 12, for example iOS 13, the list is empty: how can I add more simulatore with different ios version?
1 vote
1 answer
8k views
Troubleshooting "Permission denied @ rb_sysopen" when attempting to install an earlier version of Rails
Summarizing my problem Details about my goal: I want to install an older(stable) version of Rails; specifically 5.2.5. Describing the expected and actual results: I expect my Mac running Big Sur v11....
1 vote
1 answer
2k views
Errno::EACCES: Permission denied in create new app ruby on rails
After install fresh ruby (v 2.2.2) and rails (v 4.2.1). i try create new app by commnad rails new app in my terminal. But print errors like this: Errno::EACCES: Permission denied @ dir_s_mkdir - /...
0 votes
2 answers
485 views
Installing a gem blocked?
(Disclaimer: I am quite new to RubyGems.) I have a Sinatra app where I had a ton of require keywords so I wanted to move them into a Gemfile. So far all of them (DataMapper, Prawn, etc) work fine, ...
1 vote
1 answer
211 views
libxml issue when installing twilio-ruby gem
I've been running in circles trying to install the 'twilio-ruby' gem in my rails app to no avail. Every time I try to bundle install I receive errors around libxml. Below is a part of the error I'm ...
1 vote
0 answers
198 views
rubygems-update error when I run gem update --system
When I run gem update --system in MacOS Sierra, I have a problem like this: Successfully installed rubygems-update-2.6.10 ERROR: While executing gem ... (Errno::EACCES) Permission denied @ ...
0 votes
0 answers
118 views
I'm getting "Permission denied" error while installing gem for Alamofire Library
I'm trying to install Alamo-fire library in my project. But I'm getting the following error: ERROR: While executing gem ... (Errno::EACCES) Permission denied - /Library/Ruby/Site/2.0.0/rubygems ...
0 votes
2 answers
75 views
Cannot launch cloned ruby on rails app - RubyMine
I have cloned an existing project from github. I installed Ruby and installed Rails on my Terminal. When I do ruby -v I get ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18] When I do ...