alexspeller / emblem-rails

Emblem.js integration with rails asset pipeline
MIT License
34 stars 21 forks source link

Rails 4 #16

Closed mattbeedle closed 11 years ago

mattbeedle commented 11 years ago

This doesn't seem to be working on rails 4. I've been using emblem-rails in several rails 3 apps without any issues, but on rails 4 the tempates are not found. There are no errors, just a blank page.

alexspeller commented 11 years ago

I am using emblem with rails 4 with no issues. Can you give more details to reproduce? Have you restarted your app and cleared your rails cache?

mattbeedle commented 11 years ago

Hey,

Here is the app I have been trying to get working recently. https://github.com/mattbeedle/tastily. Maybe you could point out my mistake there. It's pretty much brand new, so there are barely any other gems or code in there.

Thanks!

alexspeller commented 11 years ago

Your application works fine, you must have some kind of local setup problem:

image

alexspeller commented 11 years ago

Closing as cannot reproduce problem

mattbeedle commented 11 years ago

ok, thanks very much for the help. This is incredibly weird and annoying. I also noticed that if I run rake assets:precompile the compiled application.js template contains the correct code. So, it seems to be a development only issue. If you have any ideas, please let me know!

alexspeller commented 11 years ago

I thought it could be a gem version problem but bundler ensures our gemsets are identical. Could be a ruby version thing?

ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]

Also, have you tried cloning the repo into a new dir and running it from fresh like I did?

mattbeedle commented 11 years ago

Cloning the repo again did the trick. Thanks again for the help!