Open Dzunior opened 11 years ago
did you fix this?
I'm having exactly the same problem. Works great in development, breaks "rake assets:precompile". Unfortunately this bug means I'm going to have to give up on leaflet-js and see if I can get leaflet-rails and rails-leaflet-label working.
I think this shoudl be ok on the latest version, its working here. No luck on your side? Same error message as above?
Thanks for replying. Yeah, same error message. However, I'm still running Rails 3.2, so I wonder if it was actually a Rails problem that was fixed in version 4? Anyway, for now I'm just using leaflet-rails and so far that's working okay.
I removed that leaflet-js addition in the latest version that was just released. See if that works. We are also on Rails 3.2.x.
Hi, I'm trying to get ready into production mode with my app which uses leaflet-js gem. But during assets precompile I get following error:
/opt/bitnami/ruby/bin/ruby /opt/bitnami/ruby/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets rake aborted! couldn't find file '../../../lib/leaflet/src/Leaflet.js' (in /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/leaflet-js-0.6.beta4/vendor/assets/javascripts/leaflet.js:3)
The file exists in mentioned location.
Does anyone encounter similar situation? Or am I doing it wrong?
Thanks, Dzunior