bin/calabash-ios-build.rb in calabash-cucumber-0.9.151 vs bin/calabash-ios-build.rb in calabash-cucumber-0.9.152
- old
+ new
@@ -45,9 +45,14 @@
end
def console
path = ENV['CALABASH_IRBRC']
unless path
+ if File.exist?('.irbrc')
+ path = File.expand_path('.irbrc')
+ end
+ end
+ unless path
path = File.expand_path(File.join(@script_dir,".irbrc"))
end
ENV['IRBRC'] = path
puts "Running irb..."
exec("irb")