Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to correctly install MySQL Ruby Gem
- gem install mysql
- gem 'mysql'
- bundle install
- development:
- adapter: mysql
- database: name_of_your_database
- encoding: utf8
- host: localhost
- username: root (replace with the actual username)
- password: root (replace with the actual password)
- user = User.find(id)
- rvm gemset create appname && rvm gemset use appname
- bundle install
Add Comment
Please, Sign In to add comment