Setup MacOS 10.12 Sierra Discussion
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 ...
Best guide ever !!! Thank you very much !! Absolutely no issues, keep doing stuffs like this !
Fantastic!
This tutorial is fantastic, I was able to get my Rails to work!
Thanks to GoRails.com
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
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!
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.
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?