lib/gem_suit/application/utils.rb in gem_suit-0.1.1 vs lib/gem_suit/application/utils.rb in gem_suit-0.1.2

- old
+ new

@@ -36,10 +36,10 @@ `cd #{root_path} && bundle install` end end def bundle_install? - `cd #{root_path} && bundle check`.any?{|line| line.include? "`bundle install`"} + [`cd #{root_path} && bundle check`].flatten.any?{|line| line.include? "`bundle install`"} end def validate_root_path!(path) unless path.match(/rails-\d/) log "Running a #{self.class.name} instance from an invalid path: '#{path}' needs to match ".red + "/rails-\\d/".yellow \ No newline at end of file