-
Notifications
You must be signed in to change notification settings - Fork 171
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
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. #164
Comments
I believe you’re looking for #165. |
So how to fix this issue exactly? sorry in advance if this is a dumb question, I'm really new to ruby. |
@imkaywu you should use |
I did the same the thing as your first suggestion, and it worked. thanks |
* Previous version was not supported on ruby 2.4.0 brianmario/yajl-ruby#164 [#146915863] Signed-off-by: Alberto Leal <[email protected]>
I had trouble running this on a newer version of ruby (2.4.1) because the version of `yajl-ruby` isn't compatible. I thought it's best to update all gems to to fix this problem and keep up to date with what github pages is using. [1] brianmario/yajl-ruby#164
Thank you for the update, but I'm still facing the same issue: **C:\Ubuntu_1804_OnWindows_WSL\wpscanteam-wpscan-2.9.1-58-g89c0b8d\wpscanteam-wpscan-89c0b8d>gem install yajl-ruby -v '1.4.1' --source 'https://rubygems.org/'
C:/Ruby26-x64/bin/ruby.exe -I C:/Ruby26-x64/lib/ruby/2.6.0 -r ./siteconf20190625-14176-q8gsld.rb extconf.rb current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/yajl-ruby-1.4.1/ext/yajl Gem files will remain installed in C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/yajl-ruby-1.4.1 for inspection. C:\Ubuntu_1804_OnWindows_WSL\wpscanteam-wpscan-2.9.1-58-g89c0b8d\wpscanteam-wpscan-89c0b8d>gem install yajl-ruby >= 1.3 --source 'https://rubygems.org/'
C:/Ruby26-x64/bin/ruby.exe -I C:/Ruby26-x64/lib/ruby/2.6.0 -r ./siteconf20190625-7436-wcaipg.rb extconf.rb current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/yajl-ruby-1.4.1/ext/yajl Gem files will remain installed in C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/yajl-ruby-1.4.1 for inspection. |
I'm trying to install Rails 4.2.6. My ruby version is
ruby 2.4.0dev (2016-06-18) [x86_64-darwin15]
I get the following error every time i run
bundle install
Any solution?
The text was updated successfully, but these errors were encountered: