Defect #12024
closedUnable to complete install - v.2.x
Description
Hi guys,
Very new to RedMine, an in no way a Ruby/RoR dev, so I could be mistaken here.
Fired up a new Ubuntu 12.04 53 VM for a fresh installation.
I followed the excellent guide here (so will just rehash my post there).
When I get to this point:
I get hit up with this error:
Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (mysql2 is not part of the bundle. Add it to Gemfile.) Tasks: TOP => db:migrate => environment (See full trace by running task with –trace)
I’m following this up with:
$ sudo gem install activerecord-mysql2-adapter mysql2 Successfully installed activerecord-mysql2-adapter-0.0.3 Building native extensions. This could take a while… Successfully installed mysql2-0.3.11 2 gems installed Installing ri documentation for activerecord-mysql2-adapter-0.0.3… Installing ri documentation for mysql2-0.3.11… Installing RDoc documentation for activerecord-mysql2-adapter-0.0.3… Installing RDoc documentation for mysql2-0.3.11…
& try running again the initial command, but the problem remains.
I then try to check the [setup] (? sorry – I’m not a ruby dev):
After a bit of digging, I think I found a bug & a solution to said bug – I can be wrong, but this allowed be to sake a step forther.
In the Gemfile, I searched for references to “mysql” & commented out & replaced (based on the next portion of same file)
Ran `sudo bundle update` & then the buggy command again & managed to proceed.
This could be some sort of dependency issue or a typo in the Gemfile - i.e. ruby 1.8.x vs 1.9.x - not sure.
Updated by Toshi MARUYAMA about 14 years ago
- Tracker changed from Patch to Defect
- Status changed from New to Closed
- Priority changed from High to Low
- % Done changed from 10 to 0
- Resolution set to Invalid
Please ask your questions which depends on OS in forum, the tracker is for bugs and feature requests only.
Updated by Jakes vdM about 14 years ago
Thanks for the update, Toshi