Skip to content

Instantly share code, notes, and snippets.

@wethu
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save wethu/36bf7bafe628e624d7e9 to your computer and use it in GitHub Desktop.

Select an option

Save wethu/36bf7bafe628e624d7e9 to your computer and use it in GitHub Desktop.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/egray/.rvm/rubies/ruby-1.8.7-head/bin/ruby extconf.rb
checking for main() in -lc... yes
creating Makefile
make
/usr/local/opt/apple-gcc42/bin/gcc-4.2 -I. -I. -I/Users/egray/.rvm/rubies/ruby-1.8.7-head/lib/ruby/1.8/i686-darwin14.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include -fno-common -pipe -fno-common -O0 -Wall -Werror -c gherkin_lexer_ar.c
couldn't understand kern.osversion `14.0.0'
cc1: warnings being treated as errors
/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function ‘CLexer_scan’:
/Users/ahellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:425: warning: control reaches end of non-void function
make: *** [gherkin_lexer_ar.o] Error 1
Gem files will remain installed in /Users/egray/.rvm/gems/ruby-1.8.7-head/gems/gherkin-2.3.10 for inspection.
Results logged to /Users/egray/.rvm/gems/ruby-1.8.7-head/gems/gherkin-2.3.10/ext/gherkin_lexer_ar/gem_make.out
An error occurred while installing gherkin (2.3.10), and Bundler cannot continue.
Make sure that `gem install gherkin -v '2.3.10'` succeeds before bundling.
~/www/g2 $ gem install gherkin -v '2.3.10'
ERROR: Could not find a valid gem 'gherkin' (= 2.3.10), here is why:
Found gherkin (2.3.10), but was for platforms x86-mingw32 ,java ,universal-dotnet ,x86-mswin32
ERROR: Possible alternatives: gherkin
~/www/g2 $
Resolving dependencies...
Bundler could not find compatible versions for gem "gherkin":
In Gemfile:
cucumber (= 0.10.3) ruby depends on
gherkin (>= 2.3.8) ruby
gherkin (2.3.7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment