wuhsien/rails3-rubycas-server — Issue #1: uninitialized constant RAILS_ENV
Author: zoran
Created: 2012-02-02 16:28:27+00:00
State: open

On initial db:migrate I get:

```
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant RAILS_ENV
rails3-rubycas-server/config/initializers/casserver.rb:65:in `init_logger'
rails3-rubycas-server/config/initializers/casserver.rb:125:in `'
```

I had to change

```ruby
:filename => "log/#{RAILS_ENV}.log
```

to

```ruby
:filename => "log/#{Rails.env}.log"
```