Skip to content

Commit

Permalink
Improved installation instructions and bumped a couple of deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Mar 15, 2012
1 parent d6f4598 commit 2b12bbf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion gherkin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}

0 comments on commit 2b12bbf

Please sign in to comment.