I am using bower-rails gem in my rails app. It works fine. But I can see that when I remove a package from Bowerfile and run rake bower:install
its not removing as expected. Isn't it the way to remove packages when using bower-rails?
Bowerfile
asset 'bootstrap-sass'
# START_HIGHLIGHT
asset 'angular-resource'
# END_HIGHLIGHT
asset 'angular', '~> 1.5'
resolution 'angular', '1.5'
asset 'angular-ui-router'
asset 'normalize-css'
asset 'angular-bootstrap'
asset 'flexslider'
rake bower:install
不会删除软件包,运行rake bower:update:prune
应该可以解决问题。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.