lib/cucumber/platform.rb in cucumber-0.1.12 vs lib/cucumber/platform.rb in cucumber-0.1.13
- old
+ new
@@ -5,5 +5,6 @@
$CUCUMBER_JRUBY = defined?(JRUBY_VERSION)
$CUCUMBER_IRONRUBY = Config::CONFIG['sitedir'] =~ /IronRuby/
$CUCUMBER_WINDOWS = Config::CONFIG['host_os'] =~ /mswin|mingw/
$CUCUMBER_WINDOWS_MRI = $CUCUMBER_WINDOWS && !$CUCUMBER_JRUBY && !$CUCUMBER_IRONRUBY
$CUCUMBER_RAILS = defined?(Rails)
+$CUCUMBER_RUBY = File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name'])