Can't start console

rails console is generating an empty application called console rather
than launching the console. How do I get into the console. rails
server works fine by the way.

On Thu, Mar 3, 2011 at 11:55 AM, Glen [email protected] wrote:

rails console is generating an empty application called console rather
than launching the console. How do I get into the console. rails
server works fine by the way.

In the same window? It sure sounds like you’re invoking two entirely
different versions of Rails.

You might want to provide a little more (as in, any) information
about your environment…


Hassan S. ------------------------ [email protected]
twitter: @hassan

On Thu, Mar 3, 2011 at 1:55 PM, Glen [email protected] wrote:

rails console is generating an empty application called console rather
than launching the console. How do I get into the console. rails
server works fine by the way.

Are you using Rails 3? Sounds to me like you are trying to start the
console
by the Rails 3 way ‘rails console’ but your Rails v installed is < 3.
Creating a rails app in < Rails 3 you did by ‘rails app_name’ but in
rails 3
you do ‘rails new app_name’

If you want to start the console in pre-Rails 3 use ‘script/console’

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