On Mon, Mar 7, 2011 at 11:57 AM, korssane korssane <li...@ruby-forum.com>wrote:

> Hi ,
>
> I am helping out my friend to maintain his website built using ruby
> 1.8.6 and rails 2.1.0 ...at lesst that what noticed in the production
> side.
> i am trying to create the same environment as so mant experts in this
> forum suggested to meto avoid conflicts and problems..
>
> i was able to create the same environment ( gems,..etc)
> now i am trying to launch the server but keep getting the following
> message : i even tried to force but no way
>
> app/controllers/application.rb:5: undefined method `init_gettex' for
>

what's in line 5 of app/controllers/application.rb


> ApplicationController:Class (NoMethodError)
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:215:in
> `load_without_new_constant_marking'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:215:in
> `load_file'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
> `new_constants_in'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:214:in
> `load_file'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:95:in
> `require_or_load'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:60:in
> `depend_on'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:456:in
> `require_dependency'
>  from
>
> /var/lib/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:18:in
> `define_dispatcher_callbacks'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:177:in
> `call'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:177:in
> `evaluate_method'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:161:in
> `call'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in
> `run'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in
> `each'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in
> `send'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:90:in
> `run'
>  from
>
> /var/lib/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:272:in
> `run_callbacks'
>  from /var/lib/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:483:in
> `send'
>  from /var/lib/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:483:in
> `prepare_dispatcher'
>  from /var/lib/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:151:in
> `process'
>  from /var/lib/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:93:in
> `send'
>  from /var/lib/gems/1.8/gems/rails-2.1.0/lib/initializer.rb:93:in `run'
>  from /home/molay/projects/project1/config/environment.rb:19
>

what's in line 19 of config/environment.rb?


>
>
> any help please will be more than appreciated.
>
> thanks
>
> --
> 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-talk@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.
>
>


-- 
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.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-talk@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