Skip to content

Instantly share code, notes, and snippets.

@Oshuma
Created October 16, 2009 17:24
Show Gist options
  • Select an option

  • Save Oshuma/211898 to your computer and use it in GitHub Desktop.

Select an option

Save Oshuma/211898 to your computer and use it in GitHub Desktop.
$ ./script/console
Loading development environment (Rails 2.1.1)
>> Rails.env
=> "test"
$ ./script/console development
Loading development environment (Rails 2.1.1)
>> Rails.env
=> "test"
$ ./script/console production
Loading production environment (Rails 2.1.1)
>> Rails.env
=> "production"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment