-
Notifications
You must be signed in to change notification settings - Fork 631
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
couldn't find file 'jquery-ui' #308
Comments
I think https://github.com/indirect/jquery-rails is not packaging jquery-ui libraries anymore. Ugh. I'll push out update to include it in the gemspec. |
Thanks for your reply. I did try that earlier and just tried it again but it's not working. I added the gem 'jquery-ui-rails' Someone also posted the same error on google groups today. Sprockets::FileNotFound in Cms_admin/sites#new Showing /Users/sean/.rvm/gems/ruby-1.9.3-p327/gems/comfortable_mexican_sofa-1.8.1/app/views/layouts/cms_admin/_head.html.haml where line #8 raised: couldn't find file 'jquery-ui' 5: |
Trying to add jquery-ui-rails as a dependency but having issues. For now just make sure that you require |
Nevermind. Grab 1.8.2. Should be working. |
Yep that fixed it. Thanks a lot for the quick update! |
Weird. I have this exact problem in new site I've generated. I'm using 1.11.2. I have another site also using 1.11.2 that's running perfectly OK. So I've no idea what the cause is or how to fix it. |
Mmm, I went right back to the start and created a brand new project and it's definitely not working with a clean install. I'll re-raise this ticket. |
seems like a (previous) rake of assets:precompile does not necessarily remove the existing assets. so a updated bundle does not fail, while a new one (= no existing assets) does. |
I think that this is related to this issue: |
Ruby 2.1.2, rails 4.1.4 - can't get it t work with the same error as above. |
I am having this same issue too with gem version 1.8.5. Edit 1: @sajoku that workaround worked for me. Thanks much! |
Had some trouble getting this gem to work an existing app, so generated a basic rails app with a single model scaffold, then installed comfortable-mexican-sofa as per the instructions (added the gem and ran the installer). I still get the same error.
It cannot find jquery-ui in the gem for some reason.
Sprockets::FileNotFound in Cms_admin/sites#new
Showing /Users/sean/.rvm/gems/ruby-1.9.3-p327/gems/comfortable_mexican_sofa-1.8.1/app/views/layouts/cms_admin/_head.html.haml where line #8 raised:
couldn't find file 'jquery-ui'
(in /Users/sean/.rvm/gems/ruby-1.9.3-p327/gems/comfortable_mexican_sofa-1.8.1/app/assets/javascripts/comfortable_mexican_sofa/application.js.coffee:3)
The text was updated successfully, but these errors were encountered: