Skip to content

Instantly share code, notes, and snippets.

@zflat
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zflat/1f664cb5a57cfda741f5 to your computer and use it in GitHub Desktop.
Save zflat/1f664cb5a57cfda741f5 to your computer and use it in GitHub Desktop.
Getting freehub to run

Force downgrade to rubygems 1.8

  rvm rubygems latest-1.8 --force

Setup the MySQL database and user

Start the server:

  ./script/app start
/*
See
http://www.cyberciti.biz/faq/mysql-user-creation/
login to mysql> prompt with:
mysql -u root -p
*/
SHOW DATABASES;
CREATE DATABASE demo;
GRANT ALL ON demo.* TO user1@localhost IDENTIFIED BY 'mypassword';
/* or no password */
GRANT ALL ON demo.* TO user1@localhost;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment