-
Notifications
You must be signed in to change notification settings - Fork 67
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 install fails on windows #54
Comments
Anyone know if and why Jekyll on windows works? What's in ruhoh that isn't in Jekyll? |
I had the same problem and the solution was to download libyaml, and to specify the lib directory while the gem installation. Download https://github.com/jonforums/libyaml-waf/downloads extract it, for example to |
confirmed install passed (have not checked if it works :) btw I think path modification is not needed see "Temporarily enhancing" log line below C:...>gem install ruhoh --version '1.0.0.alpha' -- --with-libyaml-dir=C:\DevKit\libyaml |
I came across this issue and the solution above allowed me to install To solve the issue I installed psych by following the instructions here found in the article: Hacking a RubyGem, which I found through the wiki page: Installing psych on Windows. It seems like the trick is to build psych with libyaml statically linked. I'm now able to run Is possible to remove psych as a dependency? I don't think the library or the Ruby DevKit are going to make it easy to install on Windows any time soon. |
Since #77 is closed, this should no longer be a problem as long as you use Ruby 1.9.2 or better on Windows. |
I am using Ruby 1.9.3 and I am getting this error. Trying the instructions above to see if it works. |
I am running Ruby 2.0.0 and getting the same option. And I tried that, Did not work. I get
|
@Bliker please see if you can install ruhoh 2.1. There seems to be an issue with libyaml and ruby 2.0.0 in general as I've read; similar to what's mentioned here: https://coderwall.com/p/tptocq I'll close this particular issue because it's now quite dated but if you are still trying ruhoh and still having problems feel free to open a new issue relative to 2.1. |
still missing "yaml.h" in ruby 2.0.0p247 + gem 2.0.3 + ruhoh 2.2 D:\blog>ruby -v D:\blog>gem install ruhoh D:\blog>bundle install
checking for yaml.h... no |
gem install ruhoh
fails on windows with:this can be boiled down to problem in installing
gem install psych
. This guy figured a work around:http://jonforums.github.com/ruby.html, but this is way too much and way unsupported.
The text was updated successfully, but these errors were encountered: