Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | match rails console environment support, to server | schneems | 2012-03-22 | 1 | -0/+19 | |
| | | | | rails server takes `-e` as an argument to specify RAILS_ENV, rails console currently does not have the same interface. This commit fixes this disparity so developers can manually specify `RAILS_ENV` or can pass in an environment with a `-e`. | |||||
* | fix rails server support of RAILS_ENV variable | schneems | 2012-03-20 | 1 | -0/+26 | |
| | | | | | | | When launching rails server from the command line with a rails environment specified such as `rails server RAILS_ENV=production` an error would occur since rails will try to use `RAILS_ENV=production` as it's server. When launching rails with a specified server such as thin `rails server thin RAILS_ENV=production` no error will be thrown, but rails will not start up in the specified environment. This fixes both of those cases | |||||
* | Fix tests, Rails.env may be different on CI | Piotr Sarnacki | 2012-02-16 | 1 | -2/+5 | |
| | ||||||
* | Refactor Rails::Console to make it easier to test and add tests for it | Piotr Sarnacki | 2012-02-16 | 1 | -0/+84 | |