gherkin 2.2.8 error when bundle install with wagn 1.6+issues
Hi guys,
When trying to the all the dependencies gems for wagn 1.6 I got stuck at the gherkin 2.2.8 (at the end of the post you can find the error). So I found/fix it and was looking for a way to send it back (still getting familiar with github). Then I found out that in the newest version of gherkin it is fixed. Since I'm not yet familiar with wagn code, my question is how hard would it be to migrate from gherkin 2.2.8 to the current gherkin 2.3.8 which compiles correctly.
Thanks
I got this error:
"Installing gherkin (2.2.8) with native extensions /usr/local/rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/installer.rb:533:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/local/rvm/rubies/ruby-1.8.7-p334/bin/ruby extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I. -I. -I/usr/local/rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -fPIC -O0 -Wall -Werror -c gherkin_lexer_ar.c
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function ‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:199:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [gherkin_lexer_ar.o] Error 1