2013-09-21 4 views
0

Когда я начинаю свое приложение через cpanel, я получаю этот журнал.Ruby On Rails Issue in Cpanel

 
** Starting Mongrel listening at 0.0.0.0:12001 
** Starting Rails with production environment... 
/home/pixelcor/ruby/gems/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require': no such file to load -- readline (MissingSourceFile) 
    from /home/pixelcor/ruby/gems/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 
    from /home/pixelcor/ruby/gems/gems/rush-0.6.8/lib/rush/shell.rb:1 
    from /home/pixelcor/ruby/gems/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 
    from /home/pixelcor/ruby/gems/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 
    from /home/pixelcor/ruby/gems/gems/rush-0.6.8/lib/rush/embeddable_shell.rb:1 
    from /home/pixelcor/ruby/gems/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 
    from /home/pixelcor/ruby/gems/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require' 
    from /home/pixelcor/ruby/gems/gems/rush-0.6.8/lib/rush.rb:87 
    from /home/pixelcor/ruby/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `require' 
    from /home/pixelcor/ruby/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `require' 
    from /home/pixelcor/ruby/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `each' 
    from /home/pixelcor/ruby/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `require' 
    from /home/pixelcor/ruby/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each' 
    from /home/pixelcor/ruby/gems/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require' 
    from /home/pixelcor/ruby/gems/gems/bundler-1.3.5/lib/bundler.rb:132:in `require' 
    from /home/pixelcor/rails_apps/demo/config/boot.rb:117:in `load_gems' 
    from /home/pixelcor/ruby/gems/gems/rails-2.3.5/lib/initializer.rb:164:in `process' 
    from /home/pixelcor/ruby/gems/gems/rails-2.3.5/lib/initializer.rb:113:in `send' 
    from /home/pixelcor/ruby/gems/gems/rails-2.3.5/lib/initializer.rb:113:in `run' 
    from /home/pixelcor/rails_apps/demo/config/environment.rb:17 
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' 
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:147:in `rails' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker_' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `call' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `listener' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `call' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `initialize' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run' 
    from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 
    from /usr/bin/mongrel_rails:23:in `load' 
    from /usr/bin/mongrel_rails:23 

Может ли кто-нибудь помочь мне преодолеть эту ошибку.

+0

У вас есть все драгоценные камни, необходимые для запуска рельсов, установленных первым? Попробуйте запустить 'bundle install' перед запуском сервера, если у вас есть доступ к командной строке на cpanel. – jvperrin

+0

он говорит, что bundler: gemfilenotfound я запускал его как root – Rockr

+0

, он все равно дает мне такую ​​же ошибку. У меня есть все необходимые драгоценные камни. даже запущенщик, и он использовал все, что требовалось. все еще получая ту же ошибку – Rockr

ответ

0

получил это фиксируется, поставив зависимость в gemfile.local использования гь-Readline

+0

Итак, отметьте это как ответ – Btuman