When /^I successfully run `([^`]*)` with "([^"]*)" in the library path$/ do |command,dir| ENV["RUBYOPT"] = (ENV["RUBYOPT"] || '') + " -I" + File.join(Dir.pwd,ARUBA_DIR,'tmp','newgem',dir) step %(I successfully run `#{command}`) end