lib/gem_suit/cli/builder.rb in gem_suit-0.1.1 vs lib/gem_suit/cli/builder.rb in gem_suit-0.1.2
- old
+ new
@@ -69,10 +69,10 @@
end
# `suit fit`
def bundle_install
- return if `bundle check`.none?{|line| line.include? "`bundle install`"}
+ return if [`bundle check`].flatten.none?{|line| line.include? "`bundle install`"}
puts "Running `bundle install` (this can take several minutes...)".yellow
puts "(in #{File.expand_path("")})"
`bundle install`
end
\ No newline at end of file