jeremygpeterson/jsdebug-rails — pull request #3 by mleglise (2012-04-10 22:02:07+00:00)
Title: Changed railtie initializer to load after sprockets.environment

Fixes the `rake assets:precompile` task. Without this change, experienced this failure:

```
$ bundle exec rake assets:precompile
/Users/mleglise/.rvm/rubies/ruby-1.9.3-p0/bin/ruby /Users/mleglise/.rvm/gems/ruby-1.9.3-p0/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
can't modify immutable index

Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/Users/mleglise/.rvm/rubies/ruby-1.9.3-p0/...]

Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
```

Similar issues documented for other projects:
https://github.com/railsware/js-routes/issues/16
https://github.com/resolve/refinerycms/issues/1197
https://gist.github.com/rails/rails/issues/2211