travis-ci/travis-ci — Issue #396: build fails because of rubygems version for jruby and ree
Author: EppO
Created: 2012-01-24 15:36:31+00:00
State: open

My specs fail when running using jruby and ree:

$ bundle exec rake
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/activerecord-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/activemodel-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/railties-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/actionpack-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/activerecord-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/activemodel-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/railties-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/home/vagrant/.rvm/gems/jruby-1.6.5.1/specifications/actionpack-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Could not find activemodel-3.2.0 in any of the sources

Done. Build script exited with: 1

I think it's a rubygems version issue, Rails 3.2 requires rubygems 1.8.15. Can we put a rubygems version as a requirement in travis configuration ? or do we rely on the version installed in the vm ?