Advertisement
Guest User

Untitled

a guest
Nov 26th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
  2. rake aborted!
  3. no such file to load -- mysql
  4.  
  5. development:
  6. adapter: mysql
  7. database: dbname
  8. username: dbuser
  9. password: dbpw
  10. socket: /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
  11.  
  12. ERROR: Error installing mysql:
  13. ERROR: Failed to build gem native extension.
  14.  
  15. sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-dir=/Applications/XAMPP/xamppfiles/lib/mysql --with-mysql-lib=/Applications/XAMPP/xamppfiles/lib/mysql/ --with-mysql-include=/Applications/XAMPP/xamppfiles/include/mysql/
  16.  
  17. development:
  18. adapter: mysql2
  19. encoding: utf8
  20. database: your_db
  21. pool: 5
  22. username: root
  23. password:
  24. socket: /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement