0

cpanel からアプリを起動すると、このログが表示されます。

** Mongrel のリッスンを 0.0.0.0:12001 で開始
** 本番環境で Rails を起動しています...
/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'
    /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'
    /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'
    /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 `プロセス'
    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'
    /home/pixelcor/rails_apps/demo/config/environment.rb:17 から
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:`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 `リスナー'
    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'
    /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 より
    from /usr/bin/mongrel_rails:23:in `load'
    /usr/bin/mongrel_rails:23 から

このエラーを乗り越えるのを手伝ってくれる人はいますか。

4

1 に答える 1

0

依存関係を gemfile.local に入れることで修正しました rb-readline を使用します

于 2013-09-21T16:24:27.690 に答える