JQuery mobile code won't work on rails 4 app -
i have simple jquery mobile 'listview' displays on fresh rails 4 app. however, on application working blank page.
i made sure install jquery mobile on fresh rails app same way installed on existing app. below gem file. can imagine there conflict. have precompiled assets several times might have jquery code not displaying?
the following line appears in view source contains jquery mobile code, however, webrick development server's output shows there not asset.
<script src="/assets/jquery.mobile.js?body=1"></script>
after having installed jquery mobile there noticeable delay of 5 seconds before page loads on app.
gem 'rails', '4.0.0' group :production gem 'pg' end group :development gem 'sqlite3' end gem 'bcrypt-ruby', '~> 3.0.0' gem 'aws-s3', :require => "aws/s3" gem 'foundation-rails' gem 'rf-rest-open-uri' gem 'image-picker-rails', '~> 0.1.4.1' gem 'geokit' gem 'area' gem 'sendgrid' gem 'protected_attributes' gem 'delayed_job_active_record' gem 'daemons' gem "mini_magick" gem 'stripe' gem 'omniauth-facebook' gem 'rqrcode-rails3' gem 'rqrcode_png' gem 'jquery-rails' gem 'jquery_mobile_rails', '~> 1.4.2'
it works after uninstalling/reinstalling gem changing application.js , application.css. not sure happened or why works now.
Comments
Post a Comment