-
Notifications
You must be signed in to change notification settings - Fork 6
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
Doesn't work on Windows XP #12
Comments
Hi Dimsok, thanks for reporting this. Ruby 1.8.7 was released in 2008 and is no longer supported or maintained by the Ruby developers. Versions as early as 1.9.3 seem to be working fine. Are you able to test this out on a newer version of Ruby (or Windows) to see if it works there? |
I can't use latest version cause of XP. I did try ruby-1.9.3-p551-i386-mingw32, make install nokogiri, but it shows some error, Maybe it's because that i tried it in portable mode or not installed all needed components as listing in script. require 'yaml' |
Yes, you definitely need all of the required gems or the script won't work at all. For example, without |
Ok, i made it works, but still can't use cause of 2 reasons:
Is there a way to resolve it? |
Your problem 1. is because you were using Windows "\" characters to separate your file path (which Ruby interprets as escapes), rather than "/". Ruby uses "/" to separate paths, regardless of the OS you are using. You should be able to figure out how to fix it using the information in the StackOverflow link. Your problem 2. may just come down to the fact that you are using XP. Are you sure that XP supports UTF-8? |
Of course it supports utf8. Or are you talking about command line? I can see chinese characters etc, but not in command line. If so. is there a way to use ansi 1251 instead of utf8? |
The first was resolved, the second no after i did try chcp 65001 in cmd. |
I have Ruby 1.8. 7 on win XP installed, and it doesn't work at all for me. Everytime it's just says "invalid option -U (-h will show valid options) and nothing more with any switches.
The text was updated successfully, but these errors were encountered: