ct9a
2011-Mar-08 05:59 UTC
keep getting an error, "rescue in load_missing_constant'': uninitialized constant Paperclip::Glue (NameError)"
hi, there rails: 2.3.8 machine os: Ubuntu 10.04 Lucid I''m having some problems with my rails installation in one of my new development machines. I have installed all the gems in my config/environment.rb file. When I now run either script/console or script/server, I have the error of " `rescue in load_missing_constant'': uninitialized constant Paperclip::Glue (NameError)" appear before me. Seeing that, I even ran "sudo gem install paperclip" and retried running script/console to no success. Please help :) ------- Here''s how the error looks like: root@ct9a:~/projects/myApp# script/console Loading development environment (Rails 2.3.8) /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/lib/ active_support/dependencies.rb:440:in `rescue in load_missing_constant'': uninitialized constant Paperclip::Glue (NameError) from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/lib/ active_support/dependencies.rb:436:in `load_missing_constant'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/lib/ active_support/dependencies.rb:80:in `const_missing_with_dependencies'' from /usr/local/lib/ruby/gems/1.9.1/gems/paperclip-2.3.8/lib/ paperclip/railtie.rb:20:in `insert'' from /usr/local/lib/ruby/gems/1.9.1/gems/paperclip-2.3.8/rails/ init.rb:2:in `block in evaluate_init_rb'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/ plugin.rb:158:in `eval'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/ plugin.rb:158:in `block in evaluate_init_rb'' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.8/lib/ active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/ plugin.rb:154:in `evaluate_init_rb'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/ plugin.rb:48:in `load'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/plugin/ loader.rb:38:in `block in load_plugins'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/plugin/ loader.rb:37:in `each'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/rails/plugin/ loader.rb:37:in `load_plugins'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/ initializer.rb:369:in `load_plugins'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/ initializer.rb:165:in `process'' from /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/lib/ initializer.rb:113:in `run'' from /home/anexiole/projects/RealAutoParts/config/environment.rb: 13:in `<top (required)>'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:264:in `require'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:264:in `block in load_modules'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:262:in `each'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:262:in `load_modules'' from /usr/local/lib/ruby/1.9.1/irb/init.rb:20:in `setup'' from /usr/local/lib/ruby/1.9.1/irb.rb:53:in `start'' from /usr/local/bin/irb:12:in `<main>'' root@ct9a:~/projects/myApp# root@ct9a:~/projects/myApp# -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Possibly Parallel Threads
- Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
- keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
- paperclip gem install failed
- The 2.3 branch and Rails Edge failing
- error on migration