Project

General

Profile

Win + MySQL: Object is not missing constant Project!

Added by Valerio Bonfatti about 14 years ago

Hi all,
I have an issue when running the command

rake db:migrate

I get the "Object is not missing constant Project!" error message.

This is my system:
WinXp SP3 (WinServer 2003 for production)
MySQL 5.1 (Can't be changed)
Ruby 1.8.7
Gems 1.3.5
Rake 0.8.7
Rails 2.3.5
Redmine 0.9.3 (bundle package)

I'm new to Ruby and to Rails.
I followed the instructions in the install page [http://www.redmine.org/wiki/redmine/RedmineInstall]
I've installed the mysql gem then i read the issue with MySQL 5.1.

So i've uninstalled it and installed the ruby-mysql gem (2.9.2)

gem install ruby-mysql

I'm attaching the trace.
Thanks!

log.txt (17.4 KB) log.txt

Replies (2)

RE: Win + MySQL: Object is not missing constant Project! - Added by Valerio Bonfatti about 14 years ago

Hi all,
if nobady has a solution for this issue, what is the best configuration to use to have Redmine work on a windows environment?!

RE: Win + MySQL: Object is not missing constant Project! - Added by Valerio Bonfatti about 14 years ago

Solved!

The issue was, of course, the compatibility of the mysql gem with MySQL 5.1
I solved the issue (temporary) using the libmysql.dll from the same version used to build mysql gem.
I copied it in the Ruby/bin folder.

It works, i hope it's enough stable until mysql gem supports the 5.1 version.

    (1-2/2)