I installed Ruby on Rails on my mac today along with Gems and MYsql. I\'m trying to follow the lynda.com tutorial and I\'ve run into a brick wall. When I try to run the rail
Forget the warning: Insecure world writable dir
error, that's just a warning from Bundler and has nothing to do with the error that is keeping Rails from starting.
That error is due to the Mysql2 gem not loading properly. I had the same problem. Basically you need the mysql source files for the gem to compile properly. I solved it by installing Homebrew, then installing mysql with Homebrew, then running Bundle install
again.
Try this:
brew install mysql
in a terminalGemfile.lock
file inside your Rails appbundle exec rails server
I know I'm a little late to this party, but I'm hoping this might help someone else.