ugisozols / ember-simple-auth-rails-demo

Demo showcasing Ember.SimpleAuth with Rails 4.1
44 stars 13 forks source link

require_tree argument must be a directory #4

Closed digitalfrost closed 10 years ago

digitalfrost commented 10 years ago

After downloading the project and following the "Getting Stuff to Work" instructions when I go to http://0.0.0.0:3000 I get the following error message

Sprockets::ArgumentError in Static#index 

Showing /home/gerald/code/ember-simple-auth-rails-demo/app/views/layouts/application.html.erb where line #6 raised:

require_tree argument must be a directory
  (in /home/gerald/code/ember-simple-auth-rails-demo/app/assets/javascripts/simple_auth_demo.js:1)

Extracted source (around line #6):

3  <title>SimpleAuthDemo</title>
4  <%= stylesheet_link_tag "application", media: "all" %>
5  <%= javascript_include_tag "application" %>
6  <%= csrf_meta_tags %>
7  </head>
8  <body>