ruby gem Mysql2 on windows 7 or ubuntu installation

    Install gem using following command on windows 7
    gem install mysql2 -- \\\\\'--with-mysql-lib=\\\\\"c:\\Program Files\\MySQL\\MySQL Server 5.0\\lib\\opt\\\\\" --with-mysql-include=\\\\\"c:\\Program Files\\MySQL\\MySQL Server 5.0\\include\\\\\"\\\\\'
    on ubuntu
    sudo apt-get install libmysql-ruby libmysqlclient-dev
    http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRail... this is to be placed in ruby/bin directory on windows libmysql.dll
    5
    Average: 5 (1 vote)