datamapper/datamapper.github.com — Issue #28: New Rails 3.1 apps based on templates are missing asset handling and jQuery
Author: dmarkow
Created: 2012-01-04 20:05:13+00:00
State: open

A standard Rails 3.1.x app will include this in the `Gemfile`:

```ruby
group :assets do
gem 'sass-rails', '~> 3.1.5'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'
group :test do
# Pretty printed test output
gem 'turn', '~> 0.8.3', :require => false
end
```

However, `rails new project_name -m http://datamapper.org/templates/rails.rb` doesn't preserve any of this, which makes the new app broken since any requests to `/assets/*` will fail.