script/dbconsole

I'm running rails 2.2.2. Is script/dbconsole part of this or do I have to somehow install it?

When I run script/dbconsole I get:

-bash: script/dbconsole: No such file or directory

But running script/console I do get:

script/console Loading development environment (Rails 2.1.1)

rake rails:update

jeremy

railsfid@gmail.com wrote:

I'm running rails 2.2.2. Is script/dbconsole part of this or do I have to somehow install it?

When I run script/dbconsole I get:

-bash: script/dbconsole: No such file or directory

But running script/console I do get:

script/console Loading development environment (Rails 2.1.1)

modify RAILS_GEM_VERSION in config/environment.rb

RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION

then execute: rake rails:update

I hope this help.

Duilio Ruggiero

That did it. Thanks!