On Jul 14, 5:46 am, "Azar F." <[email protected]> wrote: > Hi every one, > > I use windows7 os, recently I have installed ruby 1.8.7 and rails 3 and > mysql 5.5. > I have created a new project by using this command: > " rails new simple -d mysql" > but when I want to run it by " rails server", this error appears: > "could not find gem mysql 0.2.6,runtime in any of the gem sources listed > in your gem file" > I should mention that: > 1) I have installed mysql not mysql2 by using "gem install mysql" and I > have modified Gemfile and databases.yml by replacing mysql instead of > mysql2. > > 2) when I run "bundle install" and then run "rails server" again, I have > the same problem. > > Can anyone help me? >
Please read this: http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/ MySQL and mysql2 binary gems are very sensitive about the libmysql.dll present in your system. -- Luis Lavena -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

