file - Gem's Rake tasks to use current location -
in gem use appraisal test against different gem dependencies.
the problem face appraisal try run command :
bundle_gemfile=gemfiles/3.0.gemfile bundle exec /users/seb/.rvm/gems/ruby-1.8.7-p334/bin/rake spec cucumber
this cause issue cucumber test aruba's file located in subdirectory tmp/aruba
a solution appraisal use absolute path locate gemfiles , therefore run follow instead:
bundle_gemfile=/users/seb/work/github/rspec-subject-extensions/gemfiles/3.0.gemfile bundle exec /users/seb/.rvm/gems/ruby-1.8.7-p334/bin/rake spec cucumber
question is, how appraisal rake tasks know current location ?
dir.pwd seems that. croaky tip.
Comments
Post a Comment