# Sprockets::FileNotFound: couldn't find file 'jquery-ui/widgets/draggable'

**URL:** <https://discuss.rubyonrails.org/t/sprockets-couldnt-find-file-jquery-ui-widgets-draggable/72566>\
**Category:** rubyonrails-talk\
**Created:** [June 16, 2017, 4:51pm UTC](https://discuss.rubyonrails.org/t/sprockets-couldnt-find-file-jquery-ui-widgets-draggable/72566 "2017-06-16T16:51:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joao\_Bordalo](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@Joao\_Bordalo](https://discuss.rubyonrails.org/u/Joao_Bordalo)\
**Post date:** [June 16, 2017, 4:51pm UTC](https://discuss.rubyonrails.org/t/sprockets-couldnt-find-file-jquery-ui-widgets-draggable/72566/1 "2017-06-16T16:51:05Z")

</div>

Hi !

I’m trying to deploy my 4.2.7 rails app with nginx and unicorn.

when I precompile the assets ( $ bundle exec rake assets:precompile)

I get the following error:

rake aborted!

Sprockets::FileNotFound: couldn’t find file ‘jquery-ui/widgets/draggable’ with type ‘application/javascript’

Checked in these paths:

/opt/project-control/app/assets/images

/opt/project-control/app/assets/javascripts

/opt/project-control/app/assets/stylesheets

/opt/project-control/vendor/assets/fonts

/opt/project-control/vendor/assets/javascripts

/opt/project-control/vendor/assets/stylesheets

/home/clouduser/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jquery-rails-4.3.1/vendor/assets/javascripts

/opt/project-control/app/assets/javascripts/application.js:15

/home/clouduser/.rbenv/versions/2.3.1/bin/bundle:23:in `load’

/home/clouduser/.rbenv/versions/2.3.1/bin/bundle:23:in `’

Tasks: TOP =\> assets:precompile

Any thoughts?

Thank you in advance!

João Bordalo
