This forum is no longer active. Please post your questions to our new community site

Forums Redmine

Ruby error when running rake db:migrate

Subscribe to Ruby error when running rake db:migrate 4 post(s), 2 voice(s)

 
Avatar Kunal 5 post(s)

I just installed the latest Redmine 1.1.3-1 using the Bitnami Redmine installer on a Windows 2003 server machine. I have not made any changes/ updates/ upgrades to the default installation.

When I run the rake db:migrate command (even without installing any plugins), I get a ruby error that complains about a missing mscvrt-ruby191.dll. The migrate proceeds to fail after that. The errors following the missing DLL are:
config.load_paths is deprecated and removed in Rails 3, please use autoload_path s instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead

This is the first time I’m installing Bitnami Redmine 1.1.3-1.
Any help will be appreciated.
Thanks in advance.
-Kunal

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Right, please remove the json gem:

> gem uninstall json

This issue will be fixed in new Redmine 1.2.0 version that are going to be released today.

 
Avatar Kunal 5 post(s)

The ruby.exe error still exists in Bitnami Redmine 1.2.0. The other erros have vanished, but the first error – The application has failed to start because msvcrt-ruby191.dll was not found – still exists (see screenshot).
I installed the latest version of RubyStack first, then followed it up with the latest version of Bitnami Redmine Module.

 

Attached Files

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Yes, it is a know issue in RubyStack. We have fixed in the Redmine full Stack (not module). The problem is the json gem, if you uninstall it the problem is fixed. Thanks for reporting it.

Forums Redmine