-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error installing json #319
Comments
I'm having almost the same error. I'm on Windows10. I installed Ruby 2.3.3 using Scoop. My Gemfile includes these items:
And my error looks like thsi:
|
I'm getting same problem with below error
/home/user/.rvm/rubies/ruby-2.2.2/bin/ruby -r ./siteconf20170404-3765-1oh8j0o.rb extconf.rb current directory: /home/user/.rvm/gems/ruby-2.2.2/gems/json-1.8.1/ext/json/ext/generator current directory: /home/user/.rvm/gems/ruby-2.2.2/gems/json-1.8.1/ext/json/ext/generator make failed, exit code 2 Gem files will remain installed in /home/user/.rvm/gems/ruby-2.2.2/gems/json-1.8.1 for inspection. |
On Linux Mint, this builds fine on OSX
|
The gem will install with RubyInstaller2 (or similar) builds. Appveyor results here. I believe the ragel package needs to be installed, which may not be available with the older RubyInstaller build system. |
Is there a workaround to this problem? My problem is the same @tapickell . |
Ok, I see in #303 issue that as I'm using ruby 2.4, json 1.8 is not compatible. So I just run |
Still not working, try this...
|
`$ gem install json -v 1.8
`Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/json-1.8.6/ext/json/ext/generator
C:/Ruby23-x64/bin/ruby.exe -r ./siteconf20170307-13780-pxrhll.rb extconf.rb
creating Makefile
current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/json-1.8.6/ext/json/ext/generator
make "DESTDIR=" clean
"make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
current directory:
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/json-1.8.6/ext/json/ext/generator
make "DESTDIR="
"make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
make failed, exit code 1
Gem files will remain installed in
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/json-1.8.6 for inspection.
Results logged to
C:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/json-1.8.6/gem_make.out
An error occurred while installing json (1.8.6), and Bundler cannot continue.
Make sure that
gem install json -v '1.8.6'
succeeds before bundling.`
The text was updated successfully, but these errors were encountered: