rails_generators/cucumber/templates/cucumber in aslakhellesoy-cucumber-0.3.92 vs rails_generators/cucumber/templates/cucumber in aslakhellesoy-cucumber-0.3.93
- old
+ new
@@ -1,8 +1,9 @@
#!/usr/bin/env ruby
begin
load File.expand_path(File.dirname(__FILE__) + "/../vendor/plugins/cucumber/bin/cucumber")
rescue LoadError => e
raise unless e.to_s =~ /cucumber/
- require "rubygems"
- load File.join(Gem.bindir, "cucumber")
+ require 'rubygems'
+ require 'cucumber'
+ load Cucumber::BINARY
end
\ No newline at end of file