It has been a while i did not use rails. I have upgraded to rails
2.2.2 and I tried to run my application, i got this error
!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
I have mysql, and I used to run rails applications normally on 2.1.0,
I googled the error and I installed some libraries based on some
forums. However, the problem exists. Any idea please???
I'm still trying to figure out a way around this as well. I've attached
the output of the attempted gem install. Each time, the Rake tasks (or
whatever) fail with the same
"!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql"
I'm still trying to figure out a way around this as well. I've attached
the output of the attempted gem install. Each time, the Rake tasks (or
whatever) fail with the same
"!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql"
I am experiencing a similar problem with Ubuntu. I managed to install everything as well, but I can’t run any of the apps: rails, rake.
I did check if everything was installed and I can see that it was, but I am unable to run the commands. When I do ruby -S rails, I get the following error:
ruby: No such file or directory – rails (LoadError)
Where can I find the rails utility?
Someone mentioned JRuby. It is funny that I managed to get it to work with JRuby. It all works fine, but can’t seem to get it to work with ruby 1.8.7.
Has anyone managed to find out what it is wrong with rails and ubuntu?
Since I am experiencing the same problem, I tried to find out and I can’t seem to find the path for rails. Nothing shows up. I get gem and env, but not rails or rake.
When I had rails 2.3.4 installed, everything worked fine. After the repository ugpraded to 2.3.5, it all stopped working. I have tested it in Ubuntu 8.04 up to Ubuntu 9.10 and it all seems to be showing the same problem.
I tried to install rails 3 as well, and I am getting the same problem.
Can’t really figure out why. I have installed everything using gem. haven’t really tried to install rails using aptitude. Will give it a try and then try to upgrade.
I got as far as I did but uninstalling everything, manually cleaning out
my usr/lib dirs for anything ruby, and then following the ubuntu
walkthrough:
https://help.ubuntu.com/community/RubyOnRails
Think I've installed everything three times now.
There are many issues if you end up installing some stuff as a user and
others as root, so watch for that. Make sure all your gem installs are
with sudo.