Installation...problem installing mysql gem
I'm sure there is info on this somewhere but none of what i found seems to be of help. New to Ruby and redmine.
But problem i'm having...
when i get to the step (RAILS_ENV=production rake db:migrate) I get the following error:
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
no such file to load -- mysql
when I run gem install mysql, it says that it is installed with these errors...
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
No definition for next_result
No definition for field_name
No definition for field_table
I assume at this point that it is installed but when i run the previous code again, i get the same error, that the gem is not installed.
any help would be appreciated! I've been searching everywhere for a fix and not getting anywhere. Very much a newbie!
- what distribution, package or source, what ruby, rails, redmine versions?
- did you install the gem as root?
(yes, the gem is correctly installed and the bitching about no definition is just documentation related, nothing serious).
ruby 1.8.7 (2009-06-08 patchlevel 173) [x86_64-linux]
Redmine 1.0.0 from here...http://rubyforge.org/frs/?group_id=1850
I did not install as a root. My client's hosting service is not the best and I had to appeal for ssh access to begin with. I tried logging in once as "sudo" ( I think this is what you mean by root but if not correct me) and was denied. I would imagine I would need to fight with them for that.
I also ran a command to list the gems installed and did not see the gem on the list. I'm confused why it says that it is installed and then does not seem to be there.
Correction: It may be on the list.
mysql (2.8.1, 2.7.3)
The first one is what I am looking for correct? Nonetheless, when I run the rake, it still says it is not installed.
I think that's something you'll have to solve with your hosting service's support. I guess your gempaths or whatever are wrong, but I'm not knowledgeable enough in that field to be able to help you in any meaningful way.
gempaths? I don't really know what that means.
Anyone else having this issue or have any suggestions? Would it help to get sudo access and install in root?