Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Commit

Permalink
Allow the Task options to override whether to use Bundler or not.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Feb 8, 2011
1 parent ab42d68 commit 31844be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/dm-visualizer/rake/graphviz_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ def initialize(options={})
@types = extract_options[TYPES]
@formats = extract_options[FORMATS]

@options = options.merge(
@options = {
:bundle => File.file?('Gemfile')
)
}
@options.merge!(options)

super
end
Expand Down

0 comments on commit 31844be

Please sign in to comment.