pilu/web-app-theme — Issue #54: defaults.js Not Created
Author: clint326
Created: 2012-01-26 16:14:56+00:00
State: open

I'm rather new to Ruby on Rails and Web-App-Theme... and this is the first issue I've ever posted on Github.

When I try even the most basic Rails app with Web-App-Theme, it seems to me that defaults.js is not created. Here's how I tried (I'm using Rails 3.2.0):

rails new testapp
cd testapp
mate .

Then I edit the Gemfile to add the following: gem 'web-app-theme'

Note: adding "gem 'web-app-theme', '~> 0.8.0'" gave me errors about compatibility, so I just dropped the '~> 0.8.0' part and it worked.

bundle install
rails g scaffold Person name city
rails s

This seems to work fine when I visit http://localhost:3000/people

rails g web_app_theme:theme
rails s

When I go to http://localhost:3000/people I get an error message:

No such file or directory - Asset file not found at '/testapp/public/javascripts/defaults.js'

When I search the testapp directory, there is no file called 'defaults.js' anywhere.

Amy I doing something wrong or is this a bug of some sort?

Thanks for your help.