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

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -