Skip to content
Browse files

add bundle command method

  • Loading branch information...
1 parent 8023273 commit 6b41d0780f327d1942c565140ebb4034d701c9e3 @gregors gregors committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/appraisal/appraisal.rb
View
6 lib/appraisal/appraisal.rb
@@ -25,7 +25,7 @@ def write_gemfile
end
def install
- Command.new("bundle install --gemfile='#{gemfile_path}'").run
+ Command.new(bundle_command).run
end
def gemfile_path
@@ -36,6 +36,10 @@ def gemfile_path
::File.join(gemfile_root, "#{name}.gemfile")
end
+ def bundle_command
+ "bundle install --gemfile='#{gemfile_path}'"
+ end
+
private
def gemfile_root

0 comments on commit 6b41d07

Please sign in to comment.
Something went wrong with that request. Please try again.