tsechingho / chosen-rails

Integrate Chosen javascript library with Rails asset pipeline
https://github.com/tsechingho/chosen-rails
MIT License
524 stars 233 forks source link

Permissions problem on deploy with version 1.4.3 #78

Closed mauro-ni closed 8 years ago

mauro-ni commented 9 years ago

Hi guys, I get a permissions error when I try to deploy a Rails 4.2.4 app (with capistrano) with chosen-rails 1.4.3. With 1.4.2 version of the gem I don't have any problem.

DEBUG [769ae6ea] Command: cd /APP/DIR/releases/20151013113451 && ( RAILS_ENV=production bundle exec rake assets:precompile )
DEBUG [769ae6ea]    rake aborted!
DEBUG [769ae6ea]    Errno::EPERM: Operation not permitted @ utime_internal - public/assets/chosen-sprite.png
DEBUG [769ae6ea]    /APP/DIR/shared/bundle/ruby/2.1.0/gems/chosen-rails-1.4.3/lib/chosen-rails/tasks.rake:9:in `block (2 levels) in <top (required)>'
DEBUG [769ae6ea]    /APP/DIR/shared/bundle/ruby/2.1.0/gems/chosen-rails-1.4.3/lib/chosen-rails/tasks.rake:6:in `each'
DEBUG [769ae6ea]    /APP/DIR/shared/bundle/ruby/2.1.0/gems/chosen-rails-1.4.3/lib/chosen-rails/tasks.rake:6:in `block in <top (required)>'
DEBUG [769ae6ea]    Tasks: TOP => assets:precompile

Many tahnks in advance for your help. Mauro