How to load development environments in Rails 3

I am using rails 3 on ubuntu 10. When i trying to load rails
development environment using Rails Runner command

i am getting this:

Usage: runner [options] ('Some.ruby(code)' or a filename)

    -e, --environment=name Specifies the environment for the
runner to operate under (test/development/production).
                                     Default: development

    -h, --help Show this help message.

You can also use runner as a shebang line for your scripts like this:

Are you able to create a rails application?
rails new myapp
If that works go to the myapp folder and you should then be able to do
rails console.

Have you installed ruby and rails using RVM? If not then I strongly
suggest that you do this. It will make life much easier in the long
run. If you google for
install rails rvm ubuntu
I am sure you will find instructions for doing this.

Colin

Yes i am able to create application using rails new myapp. so can u
please suggest me the link that can guide me for installing ruby and
rails using RVM.

Yes i am able to create application using rails new myapp. so can u
please suggest me the link that can guide me for installing ruby and
rails using RVM.

The third link when I google for
install rails rvm ubuntu
is http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ which
looks like a good guide.

Colin

Thank You Colin