Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with installing rake on Mac OS X Yosemite #386

Open
panoramapro opened this issue Mar 22, 2016 · 3 comments
Open

problem with installing rake on Mac OS X Yosemite #386

panoramapro opened this issue Mar 22, 2016 · 3 comments

Comments

@panoramapro
Copy link

hi,

I am trying to install Rake on my Mac, (by typing :
gem install rake) and I get this error :

While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

I am quite new to programming, have not been able to select a clear instruction from forums,

could you suggest how to remedy please ?
many thanks for explaining in a simple way for me to follow.

Adam

@damphyr
Copy link

damphyr commented Mar 22, 2016

First of all: When you have any modern Ruby installed (and Yosemite does) you don't need to install rake, as it is part of the Ruby standard library.

In your case, you don't have enough permissions to write to the directory because you are trying to install the gem in the so called system Ruby: Adding sudo in front of the command line will prompt you for your password and allow you to install (this btw. has nothing to do with Ruby or programming, it's how you operate OS X)

sudo gem install rake

@panoramapro
Copy link
Author

Thank you very much

@StephanGELo
Copy link

Thank you for the question and the answer. I just installed mine. I could not figure it out as well until i stumbled on this post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants