arunagw/css-bootstrap-rails — Issue #5: rails 3.0 3.1 and engine railtie
Author: vkill
Created: 2011-11-07 03:44:14+00:00
State: open

hi, rails 3.1 should be load railtie, because "undefined method `assets' for #"
so your code should be amended as

```ruby
if ::Rails.version < "3.1"
require "css-bootstrap-rails/railtie"
else
require "css-bootstrap-rails/engine"
end
```