rails/rails — Issue #5004: rails cashes rake
Author: kritik
Created: 2012-02-11 14:57:47+00:00
State: open

I have rails 3.2 installed over rvm.
I have rake task in the lib/tasks

```ruby
task :import_ans1 => :environment do
require 'csv'
require 'logger'
# code goes here
end
```

when I change code rails still loads old code and does old actions. If I remove '=> :environment' then it loads new code but I need to load environment