-
-
Notifications
You must be signed in to change notification settings - Fork 2k
json fatal error - system cannot find the path specified #1822
Comments
I'm new to Ruby. Having issue while tried to do bundle install. Tried to download json-1.6.6 to and installed from my local but no luck. Previous was working fine until I installed ANSICON1.5.1. Not sure if this was the cause? |
This is a problem with the json gem. There's a way to solve that problem posted over on StackOverflow. |
I tried to install with --platform=ruby but still failed with "..cannot find the path specified." C:\niax-cucumber\western_expansion>gem install json --platform=ruby
creating Makefile Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.6. |
Please read the answer again. It says to install the Rails dev toolkit. Try that please. |
Yes, I had DevKit installed already. |
Ok then, I don't know what the problem is and cannot help you sorry. |
Since my issue hasn't be solved yet, can you reopen this issue, please |
No. As I said in the beginning, this has absolutely nothing to do with Bundler and everything to do with the json gem. Because this is not a Bundler issue, there is nothing for the Bundler team to do here. If you attempted a manual |
this fixed it for me: https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-gems_fails_comspec_autorun Scenario B |
Installing json (1.6.6) with native extensions The system cannot find the path s
pecified.
Unfortunately, a fatal error has occurred. Please report this error to the Bundl
er issue tracker at https://github.com/carlhuda/bundler/issues so that we can fi
x it. Thanks!
C:/Ruby193/lib/ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build
_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::Exte
nsionBuildError)
creating Makefile
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.6.
6 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.6.6/ext/json/ext/ge
nerator/gem_make.out
The text was updated successfully, but these errors were encountered: