Abhilash
Abhilash

Reputation: 2953

bower-rails not removing packages

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'

Upvotes: 0

Views: 205

Answers (1)

Anthony E
Anthony E

Reputation: 11245

rake bower:install doesn't remove packages, running rake bower:update:prune should do the trick.

Upvotes: 1

Related Questions