Sharagoz -- wrote:
> Did you add init_gettext to the application controller?
> class ApplicationController < ActionController::Base
>   init_gettext "aaa_arb"
> end

Ok, error from my part, the RAILS_GEM_VERSION variable in environment.rb 
was left by mistake to 2.0.1.

I uninstalled rails 2.0.1, and commented the RAILS_GEM_VERSION variable 
in environment.rb

I also updated config/boot.rb
  C:\rails_apps\aaa_arb>ruby script/server -e production
  => Booting Mongrel
  => Rails 2.3.5 application starting on http://0.0.0.0:3000
  Your config/boot.rb is outdated: Run "rake rails:update".

  C:\rails_apps\aaa_arb>rake rails:update
  (in C:/rails_apps/aaa_arb)
  install -c -m 0755 
C:/Ruby/lib/ruby/gems/1.8/gems/rails2.3.5/lib/tasks/../../bin/dbconsole 
script/dbconsole


Now here is the error I get.
Any clue ?

C:\rails_apps\aaa_arb>ruby script/server -e production => Booting 
Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000 
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/associations
.rb:1506:in `configure_dependency_for_belongs_to': The :dependent option 
expects  either :destroy or :delete (:nullify) (ArgumentError)
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record
/associations.rb:1046:in `belongs_to'
        from (eval):3:in `belongs_to'
        from C:/rails_apps/aaa_arb/app/models/primer_plate.rb:5
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge 
m_original_require'
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re 
quire'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo
rt/dependencies.rb:158:in `require'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo
rt/dependencies.rb:265:in `require_or_load'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo
rt/dependencies.rb:224:in `depend_on'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo
rt/dependencies.rb:136:in `require_dependency'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:414:i
n `load_application_classes'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:i
n `each'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:413:i
n `load_application_classes'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:411:i
n `each'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:411:i
n `load_application_classes'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:197:i
n `process'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:i
n `send'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:i
n `run'
        from C:/rails_apps/aaa_arb/config/environment.rb:25
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge 
m_original_require'
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re 
quire'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo
rt/dependencies.rb:156:in `require'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo
rt/dependencies.rb:521:in `new_constants_in'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_suppo
rt/dependencies.rb:156:in `require'
        from 
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:8
4
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge 
m_original_require'
        from 
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re 
quire'
        from script/server:3
-- 
Posted via http://www.ruby-forum.com/.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to