ruby on rails - couldn't find file 'gmaps-autocomplete' with type 'text/css' -


i trying use gem 'gmaps-autocomplete-rails' add autocomplete functionality address field in 1 of forms. have followed documentation error: couldn't find file 'gmaps-autocomplete' type 'text/css' after following documentation have in

application.js file.

//= require jquery //= require tether //= require bootstrap //= require jquery_ujs //= require_tree . //= require gmaps-autocomplete 

application.scss

 *= require_self  *= require_tree .  *= require gmaps-autocomplete 

application.html

<head>     <title>protesttrump</title>     <%= csrf_meta_tags %>      <%= stylesheet_link_tag    'application', media: 'all' %>      <script async defer type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script>     <%= javascript_include_tag 'application' %>     <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>     <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>     <script async defer src="https://maps.googleapis.com/maps/api/js?key=****************&callback=initmap"             type="text/javascript"></script>   </head> 

gemfile

gem 'gmaps-autocomplete-rails', :git => "https://github.com/kristianmandrup/gmaps-autocomplete-rails.git" 

there issue raised on github, resolved didn't work me. https://github.com/kristianmandrup/gmaps-autocomplete-rails/issues/12


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -