Installing Mysql Plugin for ruby on rails .
requirements
*) Install Mysql ,Mysql-development module, mysql client through apt-get , yum or up2date
Next intall mysql plugin using gem command
desktop:~# gem install mysql -- --with-mysql include=/usr/include/mysql --with-mysql-lib=/usr/lib/mysql --with-mysql-config --no-rdoc --no-ri
Bulk updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. mysql 2.5.1 (ruby)
6. Cancel installation
> (Enter option as require )
Thats it.... Now you can able to connect the mysql through ruby.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment