Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix doubly-prepended path to Gemfile.
  • Loading branch information
Gabe Berke-Williams committed Feb 8, 2012
1 parent 6e8ce55 commit 933d545
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion features/support/appraisal.rb
Expand Up @@ -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
Expand Down

0 comments on commit 933d545

Please sign in to comment.