Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix doubly-prepended path to Gemfile.

  • Loading branch information...
commit 933d545758814c62a25e9d679e56d8bc39a121b3 1 parent 6e8ce55
@gabebw gabebw authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 features/support/appraisal.rb
View
4 features/support/appraisal.rb
@@ -2,7 +2,9 @@
ORIGINAL_BUNDLE_VARS = Hash[ENV.select{ |key,value| BUNDLE_ENV_VARS.include?(key) }]
Before do
- ENV['BUNDLE_GEMFILE'] = File.join(Dir.pwd, ENV['BUNDLE_GEMFILE'])
+ if ! ENV['BUNDLE_GEMFILE'].include?(Dir.pwd)
+ ENV['BUNDLE_GEMFILE'] = File.join(Dir.pwd, ENV['BUNDLE_GEMFILE'])
+ end
end
After do
Please sign in to comment.
Something went wrong with that request. Please try again.