Skip to content

Commit

Permalink
Merge pull request #99 from kenips/bug/merge_conflict
Browse files Browse the repository at this point in the history
Fix "undefined method 'perform' for main:Object" caused by merging #85.
  • Loading branch information
SergeyKishenin committed Jul 23, 2014
2 parents 90a5a6a + e57739c commit d7fd042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/bower.rake
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ namespace :bower do
desc "Install both dependencies and devDependencies from bower"
task :development, :options do |_, args|
args.with_defaults(:options => '')
perform{ |bower| sh "#{bower} install #{args[:options]}" }
BowerRails::Performer.perform{ |bower| sh "#{bower} install #{args[:options]}" }
end

desc "Install only dependencies, excluding devDependencies from bower"
task :production, :options do |_, args|
args.with_defaults(:options => '')
perform{ |bower| sh "#{bower} install -p #{args[:options]}" }
BowerRails::Performer.perform{ |bower| sh "#{bower} install -p #{args[:options]}" }
end
end

Expand Down Expand Up @@ -78,4 +78,4 @@ before 'assets:precompile' do
BowerRails.tasks.map do |task|
Rake::Task[task].invoke
end
end
end

0 comments on commit d7fd042

Please sign in to comment.