I'm upgrading an app to Rails 3 and I'm getting the following error when trying to start my server:
[ree-1.8.7-2010.02@csh-web-rails3]~/dev/shh/csh-web(rails3*)$ rails s
/Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/polyglot-0.3.1/lib/polyglot.rb:64:in `polyglot_original_require': no such file to load -- activesupport (LoadError)
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/polyglot-0.3.1/lib/polyglot.rb:64:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/metric_fu-1.4.0/lib/metric_fu.rb:3
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/bundler-1.0.0/lib/bundler/runtime.rb:64:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/bundler-1.0.0/lib/bundler/runtime.rb:64:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/bundler-1.0.0/lib/bundler/runtime.rb:62:in `each'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/bundler-1.0.0/lib/bundler/runtime.rb:62:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/bundler-1.0.0/lib/bundler/runtime.rb:51:in `each'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/bundler-1.0.0/lib/bundler/runtime.rb:51:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/bundler-1.0.0/lib/bundler.rb:112:in `require'
from /Users/cmarques/dev/shh/csh-web/config/application.rb:7
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/railties-3.0.0/lib/rails/commands.rb:28:in `require'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/railties-3.0.0/lib/rails/commands.rb:28
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/railties-3.0.0/lib/rails/commands.rb:27:in `tap'
from /Users/cmarques/.rvm/gems/ree-1.8.7-2010.02@csh-web-rails3/gems/railties-3.0.0/lib/rails/commands.rb:27
from script/rails:6:in `require'
from script/rails:6
It seems to be something regarding polyglot, is there any specific versions I should be using? Here's my current versions:
* cucumber (0.8.5)
* cucumber-rails (0.3.2)
* polyglot (0.3.1)
Thanks!
--
Cássio Marques
Blog:
http://cassiomarques.wordpress.com
If you're writing code and you're not testing it, the code is wrong. I don't care if it does the right thing, and people need to understand this. If it works by accident, you're still wrong.
Bryan Liles - Ruby Hoedown 2008