redmine error for help

Added by 霄然 徐 9 months ago

[root@hadoop1 redmine]# ruby script/server -e producation
=> Booting Mongrel
=> Rails 2.3.11 application starting on http://0.0.0.0:3000
/usr/local/redmine/config/../vendor/rails/railties/lib/initializer.rb:386:in `read': No such file or directory - /usr/local/redmine/config/environments/producation.rb (Errno::ENOENT)
from /usr/local/redmine/config/../vendor/rails/railties/lib/initializer.rb:386:in `load_environment'
from /usr/local/redmine/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
from /usr/local/redmine/config/../vendor/rails/railties/lib/initializer.rb:379:in `load_environment'
from /usr/local/redmine/config/../vendor/rails/railties/lib/initializer.rb:137:in `process'
from /usr/local/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from /usr/local/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from /usr/local/redmine/config/environment.rb:22
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/local/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
from /usr/local/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
from /usr/local/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
from /usr/local/redmine/vendor/rails/railties/lib/commands/server.rb:84
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from script/server:3
Please Help~~

Replies (1)

RE: redmine error for help - Added by Mayama Takeshi 9 months ago

Maybe you should have used:

  ruby script/server -e production

instead of
  ruby script/server -e producation

(1-1/1)