I het following error:
126: The specified module could not be found. - C:/InstantRails/ruby/
lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so
there's something seriously screwed up with the new mysql gem,
especially for Vista users. You are not alone in having these problems
and I personally have not yet found a solution.
there's something seriously screwed up with the new mysql gem,
especially for Vista users. You are not alone in having these problems
and I personally have not yet found a solution.
But just to point you in the right direction, make sure your mysql bin
directory is in your path. Type PATH in the command prompt to see if it
is. If not, add it. From there try again.
Here's what I've found that works, unfortunately I don't know how to
push it back up to where ever gem install is pulling mysql from.
1) Go to http://tmtm.org/downloads/mysql/ruby/ and download mysql-
ruby-2.7.3.tar.gz (or whatever version you'ld like - but the gemspec
that follows will need some doctoring)
2) Unpack the download: "gzcat mysql-ruby-2.7.3.tar.gz | tar xvf -"
will give you a new directory mysql-ruby-2.7.3
3) In the directory mysql-ruby-2.7.3, add the following as
"mysql.gemspec" (without the equal... lines:-)
I am also getting the same error and looks like the solution that you
gave worked. How can I add the path
Please help
Thanks,
Ahmed
On Nov 28 2008, 2:30 pm, Matthew Phillips <rails-mailing-l...@andreas-
Well, you just enter to the ruby CMD and put the command 'path'.
It will print the value of the path variable.
Copy it to notepad and add the requested path.
then go back to the cmd and write: path <the old variable value with the
addition of the requsted path>.
The next time you'll run the path command you will see the path with
your addition.