I’m currently trying to install the page_attachments extention, but
uninitialized constant PageAttachmentsExtension
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/extensions/page_attachments/lib/tasks/page_attachments_extension_tasks.rake:12
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
Any thoughts ?
Make sure to bug me again with any specific errors. It seems lots of
people are having trouble and I’d like to keep track of the pain
points as much as possible so I can fix them.
problem when I run rake
uninitialized constant PageAttachmentsExtension const_missing' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in synchronize’
/usr/lib/ruby/gems/1.8/gems/rake- 0.7.3/lib/rake.rb:1733:in
I just did all the steps on the wiki, but I still keep getting the same
errors:
gebruiker@QNH-PBerkenbosch ~/radiant_workspace/demo
$ rake radiant:extensions:page_attachments:update --trace
(in /cygdrive/c/dev/Source/radiant_workspace/demo)
** Invoke radiant:extensions:page_attachments:update (first_time)
** Invoke environment (first_time)
** Execute environment
Extensions cannot be used until Radiant migrations are up to date.
** Execute radiant:extensions:page_attachments:update
rake aborted!
uninitialized constant PageAttachmentsExtension
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/radiant/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:266:in load_missing_constant' /cygdrive/c/dev/Source/radiant_workspace/demo/config/../vendor/radiant/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:452:inconst_missing’
/cygdrive/c/dev/Source/radiant_workspace/demo/config/…/vendor/radiant/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:464:in const_missing' /cygdrive/c/dev/Source/radiant_workspace/demo/config/../vendor/extensions/page_attachments/lib/tasks/page_attachments_extension_tasks.rake:12 /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:incall’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:ininvoke’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:ineach’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:instandard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:inrun’
/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/bin/rake:16:in `load’
/usr/bin/rake:16
I’m confused. The radiant instance is working perfectly, but the
extention
is not working… I will dive into the stacktrace, it has to be something
small…
Any hints into the right direction?
Peter
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.