Project

General

Profile

Actions

Defect #3333

closed

Submitting bugs documentation error

Added by James Byrne over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-05-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The simplest way to get information about your Ruby and Ruby on Rails versions is to run:

ruby script/about

within your Redmine installation.

# ruby script/about

/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:60:in `establish_connection': development database is not configured (ActiveRecord::AdapterNotSpecified)
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:53:in `establish_connection'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:392:in `initialize_database'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:139:in `process'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run'
        from /var/data/pas-redmine/config/environment.rb:20
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `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/rails-2.2.2/lib/commands/about.rb:1
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from script/about:3

# export RAILS_ENV=production

# ruby script/about
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rails/info (MissingSourceFile)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require'
        from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/about.rb:2
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from script/about:3
Actions #1

Updated by Jean-Philippe Lang over 15 years ago

  • Category deleted (Wiki)
  • Status changed from New to Closed
  • Resolution set to Fixed

script/about is fixed in r2733.
You should now be able to run it with your production environment.

Actions

Also available in: Atom PDF