tmm1 / http_parser.rb

simple callback-based HTTP request/response parser
MIT License
200 stars 43 forks source link

Install on Windows #61

Closed MSP-Greg closed 3 years ago

MSP-Greg commented 5 years ago

Noticed something odd when trying to install the gem on Windows. Many windows users have a space in their username, and I normally run that way. I have not found any issues with it.

When I install the gem, I get an error during compile:

compiling ruby_http_parser.c
x86_64-w64-mingw32-gcc.exe: error: T/.gem/ruby/2.7.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser: No such file or directory

Which is the user gem folder split where the space exists. But, I don't have the problem when installing EventMachine. I assume it's something in extconf.rb, but I'm not much of a c type...

If you have any interest in testing on Appveyor or building the gem there (or both), I'd be happy to help. Landed here wrestling with Jekyll...

tmm1 commented 4 years ago

Is anyone interested in taking over maintenance of this project?

ashie commented 3 years ago

I've succeeded build v0.6.1 on Windows 10 with a path which includes spaces. I used RubyInstaller 2.7.2-1.