diff --git a/README.md b/README.md index de53150d..71eea42a 100644 --- a/README.md +++ b/README.md @@ -130,12 +130,16 @@ In order to build and test Gherkin for JavaScript you must install: * Node.js (0.4.6 or higher) * NPM (0.3.18 or higher) * Ragel with JavaScript support: http://github.com/dominicmarks/ragel-js +** Make sure you have `autoconf` and `automake` (`brew install automake && brew install autoconf`) +** Make sure you have the official ragel (`brew install ragel`) +** Make sure you have kelbt (`brew install kelbt`). If that fails, install manually from http://www.complang.org/kelbt/ +** `cd ragel-js/ragel-svn && ./autogen.sh && ./configure --disable-manual` * Define the GHERKIN_JS environment variable in your shell (any value will do) Prepare the environment: pushd js - npm link + npm install popd Now you can build the JavaScript with: diff --git a/gherkin.gemspec b/gherkin.gemspec index 0e1e6a57..0bdbfffc 100644 --- a/gherkin.gemspec +++ b/gherkin.gemspec @@ -60,7 +60,7 @@ Gem::Specification.new do |s| s.add_development_dependency('cucumber', '>= 1.1.9') s.add_development_dependency('rake', '>= 0.9.2') - s.add_development_dependency('bundler', '>= 1.0.22') + s.add_development_dependency('bundler', '>= 1.1.1') s.add_development_dependency('rspec', '~> 2.7.0') # No 2.8.0 until this is fixed: https://github.com/rspec/rspec-expectations/issues/112 s.add_development_dependency('rubyzip', '>= 0.9.6.1') diff --git a/js/package.json b/js/package.json index ea8b57b5..3165d49b 100644 --- a/js/package.json +++ b/js/package.json @@ -20,5 +20,5 @@ , "url" : "http://github.com/cucumber/gherkin/raw/master/LICENSE" } ] -, "devDependencies" : { "uglify-js" : "1.1.1" } +, "devDependencies" : { "uglify-js" : "1.2.5" } }