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)

[email protected] 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 R.

On Tue, Nov 25, 2008 at 4:22 PM, [email protected] [email protected]
wrote:

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

rake rails:update

jeremy

That did it. Thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs