Forum: Ruby on Rails Change from 3.0.6 => Rails 3.0.7 "no such file to load -- action_mailer/railtie"

8a6aa279f9f12aae6af680c6cd93175d?d=identicon&s=25 Jeff D. (jeff_d)
on 2011-05-02 03:40
(Received via mailing list)
In my application.rb, I have this:

#require "rails/all"
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
require "active_model/railtie"

(I didn't want ActiveRecord) This worked fine up to 3.0.6, but now fails
with:

/Users/jeffdeville/Documents/code/ruby/wg/config/application.rb:6:in
`require': no such file to load -- action_mailer/railtie (LoadError)
from
/Users/jeffdeville/Documents/code/ruby/wg/config/application.rb:6:in
`<top (required)>'
from
/Users/jeffdeville/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:28:in
`require'
from
/Users/jeffdeville/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:28:in
`block in <top (required)>'
from
/Users/jeffdeville/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:27:in
`tap'
from
/Users/jeffdeville/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:27:in
`<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

Suggestions please?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.