2014-05-03 69 views
0

Ruby版本:1.8.7(2013-06-27 patchlevel 374)[x86_64-linux] Rails版本:2.3.5應用服務器:Passenger-4.0.41操作系統:雲Linux 64位沒有這樣的文件加載 - rush(MissingSourceFile)

我想運行一箇舊的RoR應用程序,這是要求。所有要求均已安裝。但是,我得到的下面,當我嘗試通過瀏覽器訪問,我得到以下錯誤:

no such file to load -- rush (MissingSourceFile) 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require' 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'require' 
    /usr/local/rvm/gems/[email protected]/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in 'require' 
    /home/chennaim/public_html/demo/proj_rails_app/vendor/plugins/delayed_job/lib/delayed/worker.rb:1 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require' 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'require' 
    /usr/local/rvm/gems/[email protected]/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in 'require' 
    /home/chennaim/public_html/demo/proj_rails_app/vendor/plugins/delayed_job/lib/delayed_job.rb:6 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require' 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'require' 
    /usr/local/rvm/gems/[email protected]/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in 'require' 
    /home/chennaim/public_html/demo/proj_rails_app/vendor/plugins/delayed_job/init.rb:1:in 'evaluate_init_rb' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/rails/plugin.rb:158:in 'evaluate_init_rb' 
    /usr/local/rvm/gems/[email protected]/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in 'silence_warnings' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/rails/plugin.rb:154:in 'evaluate_init_rb' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/rails/plugin.rb:48:in 'load' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/rails/plugin/loader.rb:38:in 'load_plugins' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in 'each' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in 'load_plugins' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/initializer.rb:369:in 'load_plugins' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/initializer.rb:165:in 'process' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/initializer.rb:113:in 'send' 
    /usr/local/rvm/gems/[email protected]/gems/rails-2.3.5/lib/initializer.rb:113:in 'run' 
    /home/chennaim/public_html/demo/proj_rails_app/config/environment.rb:6 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'gem_original_require' 
    /usr/local/rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 'require' 
    /usr/local/rvm/gems/[email protected]/gems/passenger-4.0.41/helper-scripts/classic-rails-preloader.rb:96:in 'preload_app' 
    /usr/local/rvm/gems/[email protected]/gems/passenger-4.0.41/helper-scripts/classic-rails-preloader.rb:184 

請指引我...

回答

2

怎麼樣運行

gem install rush

+0

我在它之前做到了。我甚至重新加載了「rvm」和「web服務器」。但是,依然如此。 – abcsoeasy

+0

現在工作正常+1 – abcsoeasy

相關問題