I have recently upgraqded to Ruby 1.9.2-rc1 and reinstalled rails 3
beta 4 with all the dependencies. I have run bundle install in my
rails project. Now I am trying to run some tests...
My test_helper.rb file looks like this:
# test_helper.rb
require 'rubygems'
require 'test/unit'
require 'rails/all'
$ gem list
i18n (0.4.1, 0.3.7)
activesupport (3.0.0.beta4, 3.0.0.beta3, 3.0.0.beta, 2.3.8)
rails (3.0.0.beta4)
railties (3.0.0.beta4)
$ bundle install
Using activesupport (3.0.0.beta4) from bundler gems
Using builder (2.1.2) from bundler gems
Using i18n (0.4.1) from bundler gems
...
Using railties (3.0.0.beta4) from bundler gems
Using rails (3.0.0.beta4) from bundler gems
$ rake test
/Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
railties-3.0.0.beta4/lib/rails/railtie/configuration.rb:76:in
`method_missing': undefined method `i18n' for
#<Rails::Railtie::Configuration:0x000001010fce98> (NoMethodError)
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
activesupport-3.0.0.beta/lib/active_support/railtie.rb:36:in
`<class:Railtie>'
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
activesupport-3.0.0.beta/lib/active_support/railtie.rb:32:in
`<module:I18n>'
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
activesupport-3.0.0.beta/lib/active_support/railtie.rb:31:in `<top
(required)>'
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
railties-3.0.0.beta4/lib/rails.rb:13:in `require'
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
railties-3.0.0.beta4/lib/rails.rb:13:in `<top (required)>'
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
railties-3.0.0.beta4/lib/rails/all.rb:1:in `require'
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
railties-3.0.0.beta4/lib/rails/all.rb:1:in `<top (required)>'
from /Users/kristianconsult/Development/Languages/Ruby/Apps/Gems/
_forks/rails3-generators/test/test_helper.rb:3:in `require'
from /Users/kristianconsult/Development/Languages/Ruby/Apps/Gems/
_forks/rails3-generators/test/test_helper.rb:3:in `<top (required)>'
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.