Asset paths shouldn't have a leading slash #5

Closed
spadin opened this Issue Mar 13, 2012 · 0 comments

Projects

None yet

2 participants

@spadin
spadin commented Mar 13, 2012

After a couple of hours of racking my brain trying to figure out why JST templates weren't compiling, I find out it's because the asset paths shouldn't have a leading slash. The README has the :asset_paths => ['/app/assets/javascripts'] but instead it should be:

guard 'sprockets', :destination => "public/javascripts", :asset_paths => ['app/assets/javascripts'] do
  watch (%r{app/assets/javascripts/application.js})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment