On 6 Aug 2011, at 22:33, Chance wrote:

> First off, I'm still pretty much a Rails newb, especially < 3 so
> forgive me if this is pretty naive. Anyway, I've followed the
> installation instructions but I am running into the following error.
> Any help would be very much appreciated, thanks!
> 
> 
> => Booting WEBrick
> => Rails 2.3.11 application starting on http://0.0.0.0:3000
> [...warnings about deprecation]
> /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/lib/
> radiant/extension_loader.rb:154:in `select_extension_roots': undefined
> method `each' for nil:NilClass (NoMethodError)


Is this a radiant that you've recently updated? The immediate cause is probably 
that you need a line like this in environment.rb:

         config.ignore_extensions [:dutch_language_pack, :french_language_pack, 
:german_language_pack, :italian_language_pack, :japanese_language_pack, 
:russian_language_pack, :debug] 

The best remedy is to change to your application directory and run:

        rake radiant:update

If there have been changes then this will create a new environment.rb file 
(among other updates) and rename the existing file to environment.bak.

best,

will




>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> lib/radiant/extension_loader.rb:131:in `load_extension_roots'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> lib/radiant/extension_loader.rb:37:in `extension_load_paths'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> lib/radiant/extension_loader.rb:45:in `add_extension_paths'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> lib/radiant/initializer.rb:214:in `set_autoload_paths'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> vendor/rails/railties/lib/initializer.rb:135:in `process'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> vendor/rails/railties/lib/initializer.rb:113:in `send'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> vendor/rails/railties/lib/initializer.rb:113:in `run'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> lib/radiant/initializer.rb:210:in `run'
>       from /Users/chance/code/rails/cs/config/environment.rb:12
>       from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/
> rubygems/custom_require.rb:55:in `gem_original_require'
>       from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/
> rubygems/custom_require.rb:55:in `require'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in
> `require'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in
> `new_constants_in'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in
> `require'
>       from /Users/chance/.rvm/gems/ruby-1.8.7-p352/gems/radiant-1.0.0.rc2/
> vendor/rails/railties/lib/commands/server.rb:84
>       from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/
> rubygems/custom_require.rb:55:in `gem_original_require'
>       from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/
> rubygems/custom_require.rb:55:in `require'
>       from script/server:3
> 
> 
> 
> Here is my gem list for my 1.8.7 rvm gemset:
> 
> actionmailer (2.3.11)
> actionpack (2.3.11)
> activemodel (3.0.9)
> activerecord (2.3.11)
> activeresource (2.3.11)
> activesupport (3.0.9, 2.3.11)
> acts_as_list (0.1.4)
> arel (2.0.10)
> builder (2.1.2)
> cocaine (0.1.0)
> compass (0.10.6)
> delocalize (0.2.6)
> diff-lcs (1.1.2)
> haml (3.0.25)
> i18n (0.5.0)
> mime-types (1.16)
> paperclip (2.3.16)
> rack (1.1.2)
> radiant (1.0.0.rc2, 0.9.1)
> rails (2.3.11)
> rake (0.8.7 ruby)
> RedCloth (4.2.7)
> rspec (2.6.0)
> rspec-core (2.6.4)
> rspec-expectations (2.6.0)
> rspec-mocks (2.6.0)
> tzinfo (0.3.29)
> uuidtools (2.1.2)
> will_paginate (2.3.15)




__________________________
 
William Ross
Spanner Ltd
18 Fountain Street
Ulverston
Cumbria LA12 7EQ
01229 588098 or 07771 562745
 



Reply via email to