开发者

NameError occurs after switching from vendored gems to Bundler in Rails 2.3.8

开发者 https://www.devze.com 2023-04-09 22:56 出处:网络
/Users/me/.rvm/gems/ree-1.8.7-2011.03@evokat25/gems/activesupport-2.3.8/lib/active_suppor开发者_C百科t/dependencies.rb:105:in `const_missing\':NameError: uninitialized constant Rails::Initializer::Pap

/Users/me/.rvm/gems/ree-1.8.7-2011.03@evokat25/gems/activesupport-2.3.8/lib/active_suppor开发者_C百科t/dependencies.rb:105:in `const_missing':NameError: uninitialized constant Rails::Initializer::Paperclip

There is no mention of Rails::Initializer::Paperclip anywhere in my code base. Anybody have a clue as to what it is trying to do?


I figured this out. I had some configuration lines in config/initializers/.rb and config/environments/.rb. After I put the "require" lines in each for the appropriate gems, the problem disappeared.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号