stewartmckee / cobweb

Web crawler with very flexible crawling options. Can either use standalone or can be used with resque to perform clustered crawls.
MIT License
227 stars 45 forks source link

error while installing cobweb-1.0.28.gem: Invalid argument @ rb_sysopen #41

Closed illtellyoulater closed 8 years ago

illtellyoulater commented 9 years ago

[OS: Win 7 x64]

ruby -v ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]

gem install cobweb

Fetching: redis-3.2.1.gem (100%)
Successfully installed redis-3.2.1
Fetching: redis-namespace-1.5.2.gem (100%)
Successfully installed redis-namespace-1.5.2
Fetching: tilt-2.0.1.gem (100%)
Successfully installed tilt-2.0.1
Fetching: haml-4.0.6.gem (100%)
Successfully installed haml-4.0.6
Fetching: rack-protection-1.5.3.gem (100%)
Successfully installed rack-protection-1.5.3
Fetching: sinatra-1.4.6.gem (100%)
Successfully installed sinatra-1.4.6
Fetching: cobweb-1.0.28.gem (100%)
ERROR:  While executing gem ... (Errno::EINVAL)
    Invalid argument @ rb_sysopen - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/cobweb-1.0.28/spec/samples/sample_site/boxgrid>withsillyname.html
stewartmckee commented 9 years ago

Cool, looks like the filename is not working on windows. I've renamed it just checking specs just now and will push up new version.

illtellyoulater commented 9 years ago

:+1:

stewartmckee commented 8 years ago

Trying to work out if this made it into a published gem, I made the fix but not sure if i pushed it to a gem, going to spend some time on the issues shortly, so will update here once i've pushed another version and confirm this fix is in it.

stewartmckee commented 8 years ago

HI, can you confirm this was fixed or not, i've just released 1.0.29 which should not have the filename issue.

thanks, Stewart.

illtellyoulater commented 8 years ago

Hi, I can confirm gem installation is ok now.

Tested with ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]. Thank you.