Skip to content

Commit

Permalink
Install and resolve bower components before precompile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimpo committed Dec 11, 2013
1 parent 857a345 commit e5c4943
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tasks/bower.rake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ namespace :bower do
end
end

# Install bower assets before precompile
Rake::Task['assets:precompile'].enhance ['bower:install', 'bower:resolve']

def perform remove_components = true, &block
entries = Dir.entries(get_bower_root_path)

Expand Down

3 comments on commit e5c4943

@glebm
Copy link

@glebm glebm commented on e5c4943 Dec 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaks on heroku :(

@jimpo
Copy link
Contributor Author

@jimpo jimpo commented on e5c4943 Dec 15, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, unless you can install bower on Heroku (which I'm also working on). Maybe we should revert this commit.

@SergeyKishenin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edge version now disables this feature

Please sign in to comment.