Ruby版本:1.8.7(2013-06-27 patchlevel 374)[x86_64-linux] Rails版本:2.3.5应用服务器:Passenger-4.0.41操作系统:云Linux 64位
我正在尝试运行一个旧的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/ruby-1.8.7-p374@global/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/ruby-1.8.7-p374@global/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/ruby-1.8.7-p374@global/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/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/rails/plugin.rb:158:in 'evaluate_init_rb'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in 'silence_warnings'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/rails/plugin.rb:154:in 'evaluate_init_rb'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/rails/plugin.rb:48:in 'load'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/rails/plugin/loader.rb:38:in 'load_plugins'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in 'each'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in 'load_plugins'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/initializer.rb:369:in 'load_plugins'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/initializer.rb:165:in 'process'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/rails-2.3.5/lib/initializer.rb:113:in 'send'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/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/ruby-1.8.7-p374@global/gems/passenger-4.0.41/helper-scripts/classic-rails-preloader.rb:96:in 'preload_app'
/usr/local/rvm/gems/ruby-1.8.7-p374@global/gems/passenger-4.0.41/helper-scripts/classic-rails-preloader.rb:184
请指导我......
答案 0 :(得分:2)
如何运行
gem install rush