krunal shah
krunal shah

Reputation: 16339

Getting error while starting script/console or script/server

Error :

/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:53:in `gem_original_require': no such file to load -- initializer (LoadError)
    from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:53:in `require'
    from ./script/../config/boot.rb:54:in `load_initializer'
    from ./script/../config/boot.rb:38:in `run'
    from ./script/../config/boot.rb:11:in `boot!'
    from ./script/../config/boot.rb:109
    from script/server:2:in `require'
    from script/server:2

Ruby 1.8.7

Rails 2.3.8

Rubgems 1.6.1

Any Idea !

Upvotes: 1

Views: 1272

Answers (2)

krunal shah
krunal shah

Reputation: 16339

I had installed list of different rails version(3.0.0,2.3.11,2.3.9). After uninstalling rails 3.0.0. Removed all the 3.0.0 gems like actionmailer,activemodel,activeresource etc. Application is working now.

Upvotes: 1

Marcel Falliere
Marcel Falliere

Reputation: 1894

Did you run ?

bundle install

Well I'm not sure if this command even exists in rails 2.3. Let me know.

Upvotes: 0

Related Questions