Project

General

Profile

ruby script/about fails for production environment

Added by Anonymous almost 15 years ago

I've submitted a few bug reports for Redmine, and am trying to use the recommened

ruby script/about

to get the required versions. But in our production environment I get the following error:

c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_a
dapters/abstract/connection_specification.rb:218:in `establish_connection': deve
lopment database is not configured (ActiveRecord::AdapterNotSpecified)

We don't have any other environments configured other than production. I've tried the following

ruby script/about -e production

But get the same error. Is this the correct method for getting info about the production environment or should I submit this as a bug?

Thanks

Russell