Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Gherkin is loaded via rubygems if it can't be found on the

  • Loading branch information...
commit e5676433a250bd79f621c0610b2e73290043d443 1 parent cf9c1c2
@aslakhellesoy aslakhellesoy authored
Showing with 10 additions and 1 deletion.
  1. +4 −1 History.txt
  2. +6 −0 lib/cucumber/cli/main.rb
View
5 History.txt
@@ -1,8 +1,11 @@
-== 0.7.0.beta.4 (2010-04-23)
+== 0.7.0.beta.4 (2010-04-24)
=== New Features
* New, experimental V8 javascript support - step definitions in Javascript! (Joseph Wilk)
+=== Bugfixes
+* Gherkin is loaded via rubygems if it can't be found on the $LOAD_PATH. (Aslak Hellesøy)
+
== 0.7.0.beta.3 (2010-04-23)
=== Changed Features
View
6 lib/cucumber/cli/main.rb
@@ -1,3 +1,9 @@
+begin
+ require 'gherkin'
+rescue LoadError
+ require 'rubygems'
+ require 'gherkin'
+end
require 'optparse'
require 'cucumber'
require 'ostruct'
Please sign in to comment.
Something went wrong with that request. Please try again.