Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong path? #3

Open
Dzunior opened this issue May 27, 2013 · 5 comments
Open

Wrong path? #3

Dzunior opened this issue May 27, 2013 · 5 comments

Comments

@Dzunior
Copy link

Dzunior commented May 27, 2013

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

@mark-nery
Copy link

did you fix this?

@smeeks
Copy link

smeeks commented Dec 19, 2013

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.

@cfis
Copy link
Owner

cfis commented Dec 19, 2013

I think this shoudl be ok on the latest version, its working here. No luck on your side? Same error message as above?

@smeeks
Copy link

smeeks commented Dec 20, 2013

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.

@cfis
Copy link
Owner

cfis commented Dec 20, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants