Ask A Question

Notifications

You’re not receiving notifications from this thread.

Setup MacOS 10.12 Sierra Discussion

Chris Oliver asked in General
Robert Kisielewski Robert Kisielewski

was having problems with brew mysql when generating a new app using the mysql ....
error would thrown when 'Installing mysql2 0.4.5 with native extensions'
...
Errno::EACCES: Permission denied @ rb_sysopen -
/Users/MYUSERNAME/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/mysql2-0.4.5/CHANGELOG.md

what I had to do to solve that ...
sudo chown -R $(whoami) /Users/MYUSERNAME/.rbenv/ ....

tried milions things before ...that seemed to work ... I know kinda unwise ..to sudo chown a directory ..but I got no other solution and that worked !!! hope it helps some future frustrated nerds like self ...

Reply

Grazieee!!!

Reply
Federico Moya Federico Moya

Best guide ever !!! Thank you very much !! Absolutely no issues, keep doing stuffs like this !

Reply
Troy Borges Troy Borges

Fantastic!
This tutorial is fantastic, I was able to get my Rails to work!
Thanks to GoRails.com

Reply

am nubi, asking for error Access denied for user 'root'@'localhost' (using password: NO)
i've tried update user and pass but this error still appear. what i have to update config/database.yml?

sorry for my bad english

Reply
Abdelmjid Lahmidi Abdelmjid Lahmidi

awesome, no issues following this tuto.

Reply
Mark Antony Mark Antony

i can work with sublime text using this setup?

Reply

These instructions are terrible. It won't accept my SSH key as per the instructions to copy the output of "cat id_rsa.pub". This article is titled "Setup Ruby On Rails on macOS 10.12 Sierra" but they don't work. Please update!

Reply

Great instructions to get started! everything worked perfectly! Thanks!

Reply

I barely know html but I took the course for the command line at learnenough.com and that really helped.
googled around when I got stuck. Downloaded this to do the tutorial by Chris Pine, Learn to Program.

Reply

I get this problem after executing gem install rails -v 5.1.4

ERROR: While executing gem ... (Gem::FilePermissionError)

You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory
.
Any suggestions?

Reply

did you ever figure out this problem? i have it too...

Reply
lucalan66@gmail.com lucalan66@gmail.com

great manual, thank you so much!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.