Keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (Na

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 :slight_smile:

------- Here’s how the error looks like:

[email protected]:~/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:inload_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:ininsert’
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:ineval’
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:insilence_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:inload’
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:ineach’
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:inload_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:inrun’
from /home/anexiole/projects/RealAutoParts/config/environment.rb:
13:in <top (required)>' from /usr/local/lib/ruby/1.9.1/irb/init.rb:264:inrequire’
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:ineach’
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:insetup’
from /usr/local/lib/ruby/1.9.1/irb.rb:53:in start' from /usr/local/bin/irb:12:in
[email protected]:~/projects/myApp#
[email protected]:~/projects/myApp#

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs