Skip to content

defaults.js Not Created #54

@clint326

Description

@clint326

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.

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

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions