Script/dbconsole


#1

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)


#2

removed_email_address@domain.invalid 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.


#3

On Tue, Nov 25, 2008 at 4:22 PM, removed_email_address@domain.invalid removed_email_address@domain.invalid
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


#4

That did it. Thanks!