kristianmandrup / gmaps-autocomplete-rails

Google Maps v3 search with jQuery UI Autocomplete, ready for use with Rails asset pipeline
MIT License
73 stars 35 forks source link

Error load pipeline asset #7

Open angelsystem opened 10 years ago

angelsystem commented 10 years ago

No work assets pipeline in rails 4.

couldn't find file 'gmaps-auto-complete' (in app/assets/javascripts/application.js:16)

kristianmandrup commented 10 years ago

Very strange!!!

https://github.com/kristianmandrup/gmaps-autocomplete-rails/tree/master/vendor/assets

Looks good to me. Are there any major changes in the Rails 4 pipeline resolution? Please help me fix this. I'm on NodeJS platform now, not using Rails... and very little time to investigate :P

thesciz commented 10 years ago

Any luck fixing this issue, Angel? I'm having the same problem.

kristianmandrup commented 10 years ago

Just find any other project that adds assets to the Rails pipeline (v.4.1+) and adjust this project accordingly. I would think it is due to changes in the API here:

https://github.com/kristianmandrup/gmaps-autocomplete-rails/blob/master/lib/gmaps-autocomplete-rails.rb

kristianmandrup commented 10 years ago

See http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html and http://guides.rubyonrails.org/asset_pipeline.html in particular http://guides.rubyonrails.org/asset_pipeline.html#adding-assets-to-your-gems

kristianmandrup commented 10 years ago

see https://github.com/rails/jquery-rails/blob/master/lib/jquery/rails.rb

gregblass commented 10 years ago

This is happening to me as well with Rails 4.1. Any fixes?

karimmorta commented 9 years ago

Had the same issue, restarting the server solved it.