|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Installing radiant-gallery failsHi,
I´m having problems getting radiant-gallery up and running. Any idea what this could be? I´m able to reproduce the problem when creating a new radiant project and installing gems. I´m running Rails 2.3.4, Radiant 0.8.1, Ruby 1.8.7 prompt> radiant -dsqlite3 testproject prompt> cd testproject prompt> rake development db:bootstrap prompt> ruby script/server *# Radiant starts up successfully and I´m able to log in as admin.* prompt> git clone git://github.com/technoweenie/attachment_fu.gitvendor/plugins/attachment_fu prompt> git clone git://github.com/hairballopolis/radiant-gallery.gitvendor/extensions/gallery * This however fails:* prompt> rake radiant:extensions:gallery:install --trace ** Invoke radiant:extensions:gallery:install (first_time) ** Invoke radiant:extensions:gallery:create_config_file (first_time) ** Execute radiant:extensions:gallery:create_config_file mkdir -p /private/tmp/testproject/config/extensions/gallery ** Invoke environment (first_time) ** Execute environment rake aborted! You have a nil object when you didn't expect it! The error occurred while evaluating nil.to_sym /private/tmp/testproject/vendor/extensions/gallery/app/models/gallery_item.rb:17 /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_file' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:379:in `load_file' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:259:in `require_or_load' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/base.rb:2199:in `compute_type' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/base.rb:2195:in `compute_type' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/reflection.rb:156:in `send' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/reflection.rb:156:in `klass' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/reflection.rb:187:in `quoted_table_name' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/associations.rb:1413:in `configure_dependency_for_has_many' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activerecord/lib/active_record/associations.rb:823:in `has_many' (eval):3:in `has_many' /private/tmp/testproject/vendor/extensions/gallery/app/models/gallery.rb:5 /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_without_new_constant_marking' /Library/Ruby/Gems/1.8/gems/radiant-0.8.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:380:in `load_file' gallery_item.rb:17 looks likes this: (17) has_attachment :storage => Radiant::Config["gallery.storage"].to_sym, :path_prefix => Radiant::Config["gallery.path_prefix"], :processor => Radiant::Config["gallery.processor"], :max_size => Radiant::Config["gallery.max_size"].to_i.kilobytes -- Martin Stabenfeldt Langgata 2 a 0566 Oslo Tlf: +47 93441707 _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Installing radiant-gallery failsOn 05.11.2009, at 11:44, Martin Stabenfeldt wrote: > Hi, > > > I´m having problems getting radiant-gallery up and running. > Any idea what this could be? I´m able to reproduce the problem when > creating > a new radiant project and installing gems. > ** Execute environment > rake aborted! > You have a nil object when you didn't expect it! > The error occurred while evaluating nil.to_sym You are missing a config value. open ./script/console and enter Radiant::Config["gallery.storage"] = "file_system" oder put the value in environment.rb cu edi -- DI Edmund Haselwanter, edmund@..., http://edmund.haselwanter.com/ _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
| Free embeddable forum powered by Nabble | Forum Help |