Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

Upgrading Redmine from 1.3.1 to 2.1.2, Could not find gem 'factory_girl_rails (>= 0) x86-mingw32'

$
0
0

Hi there,

I'm currently in the process of upgrading Bitnami Redmine 1.3.1 to 2.1.2-1. I added the plugin redmine_wiki_extensions 0.6.0 to my Redmine. The mysql database import ran fine, and now I want to start the database migration with rake db:migrate RAILS_ENV="production". I get the following error:

?[31mCould not find gem 'factory_girl_rails (>= 0) x86-mingw32' in any of the gem sources listed in your Gemfile.?[0m
?[33mRun `bundle install` to install missing gems.?[0m

Now I tried gem install factory_girl_rails which lead to this:

Fetching: factory_girl-4.1.0.gem (100%)
ERROR:  Error installing factory_girl_rails:
    factory_girl requires Ruby version >= 1.9.2.

A bundle install as suggested in the error message results in this:

Fetching source index for http://rubygems.org/
Fetching source index for http://rubygems.org/
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.1.0)
Using activesupport (3.2.8)
Using builder (3.0.0)
Using activemodel (3.2.8)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.1)
Using rack-cache (1.2)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.1.3)
Using actionpack (3.2.8)
Using mime-types (1.18)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.4.4)
Using actionmailer (3.2.8)
Using arel (3.0.2)
Using tzinfo (0.3.33)
Using activerecord (3.2.8)
Using activeresource (3.2.8)
Using bundler (1.0.21)
Using coderay (1.0.6)
Using daemons (1.0.10)
Using eventmachine (1.0.0.rc.4)
Using fastercsv (1.5.4)
Using rack-ssl (1.3.2)
Using json (1.4.6)
Using rdoc (3.11)
Using thor (0.14.6)
Using railties (3.2.8)
Using jquery-rails (2.0.3)
Using mysql (2.8.1)
Installing mysql2 (0.3.11)
Using net-ldap (0.3.1)
Using ruby-openid (2.1.8)
Using rack-openid (1.3.1)
Using rails (3.2.8)
Using rmagick (2.12.0)
Using thin (1.3.1)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem
is installed.

If I now restart the database migration with --trace, the following problem occured:

rake aborted!
Incorrect MySQL client library version! This gem was compiled for 6.0.0 but the
client library is 5.0.83.
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/l
ib/mysql2/1.8/mysql2.so
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/l
ib/mysql2/mysql2.rb:2
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/l
ib/mysql2.rb:9:in `require'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/mysql2-0.3.11-x86-mingw32/l
ib/mysql2.rb:9
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/
runtime.rb:68:in `require'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/
runtime.rb:68:in `require'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/
runtime.rb:66:in `each'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/
runtime.rb:66:in `require'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/
runtime.rb:55:in `each'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/
runtime.rb:55:in `require'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler.
rb:122:in `require'
C:/BitNami Redmine Stack/apps/redmine/htdocs/config/application.rb:7
C:/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `gem_original_require'
C:/BitNami Redmine Stack/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
36:in `require'
C:/BitNami Redmine Stack/apps/redmine/htdocs/Rakefile:5
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_
module.rb:25:in `load'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_
module.rb:25:in `load_rakefile'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/appli
cation.rb:501:in `raw_load_rakefile'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/appli
cation.rb:82:in `load_rakefile'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/appli
cation.rb:133:in `standard_exception_handling'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/appli
cation.rb:81:in `load_rakefile'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/appli
cation.rb:65:in `run'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/appli
cation.rb:133:in `standard_exception_handling'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/appli
cation.rb:63:in `run'
C:/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
C:/BitNami Redmine Stack/ruby/bin/rake:19:in `load'
C:/BitNami Redmine Stack/ruby/bin/rake:19

What is wrong here? I assume that the gem factory_girl_rails (version 4.1.0) is too new (because it has a dependency to Ruby >= 1.9.2), so I have to use a older version of it. Is that correct?

Edit: I see now that the plugin redmine_wiki_extensions needs factory_girl_rails. So this isn't really a problem from Redmine itself.


Viewing all articles
Browse latest Browse all 2052

Trending Articles