no such file to load
Added by noriaki takamizawa almost 16 years ago
Hi
I'm trying to install redmine.
And when I tried to make database, error msg below is shown.
Pls tell me how to figure out this problem.
[xxx@localhost unit]# rake db:migrate RAILS_ENV="production" --trace
(in /var/www/rails/redmine)
rake aborted!
no such file to load -- test/unit/error
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `block in require'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/deprecation.rb:204:in `<top (required)>'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `block in require'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/var/www/rails/redmine/vendor/rails/activesupport/lib/active_support.rb:40:in `<top (required)>'
/var/www/rails/redmine/vendor/rails/railties/lib/tasks/misc.rake:12:in `require'
/var/www/rails/redmine/vendor/rails/railties/lib/tasks/misc.rake:12:in `<top (required)>'
/var/www/rails/redmine/vendor/rails/railties/lib/tasks/rails.rb:4:in `load'
/var/www/rails/redmine/vendor/rails/railties/lib/tasks/rails.rb:4:in `block in <top (required)>'
/var/www/rails/redmine/vendor/rails/railties/lib/tasks/rails.rb:4:in `each'
/var/www/rails/redmine/vendor/rails/railties/lib/tasks/rails.rb:4:in `<top (required)>'
/var/www/rails/redmine/Rakefile:10:in `require'
/var/www/rails/redmine/Rakefile:10:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2359:in `load'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2359:in `raw_load_rakefile'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1993:in `block in load_rakefile'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1992:in `load_rakefile'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1976:in `block in run'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:2044:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
/usr/local/lib/ruby/gems/1.9.1/gems/rake-0.8.4/bin/rake:31:in `<top (required)>'
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19:in `<main>'
Replies (4)
RE: no such file to load - Added by Brennan Johnson almost 16 years ago
Could you answer the following:
- Ruby implementation and version
- Rails version (rails --version)
- Operating system (specific)
- Database used, and its version
- Ruby-aware server used: Webrick, Mongrel, Thin, etc. If you don't understand this point, you're using Webrick.
RE: no such file to load - Added by noriaki takamizawa almost 16 years ago
Thank you for your reply.
My environment is belows.
ruby -v
ruby 1.9.1p0 (2009-01-20 revision 21700) [i686-linux]
rails -v
Rails 2.3.2
gem -v
1.0.1
cat /etc/fedora-release
Fedora Core release 5 (Bordeaux)
I don't use Web server for the mean time.
By the way, I installed ruby like this.
yum install ruby irb ruby-devel ruby-rdoc
I'd appreciate if you give some advice.
RE: no such file to load - Added by Jean-Baptiste Barth almost 16 years ago
Your rubygems is too old (1.3.1 required if I'm not wrong), and rails/ruby versions are too fresh, I don't think ruby 1.9 and rails 2.3 are supported for the moment.
RE: no such file to load - Added by noriaki takamizawa almost 16 years ago
Thank you for your comment.
It's helpful so that it works.