it right. They just fixed the Ruby source:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/io.c?r1=13774&r2=14858
I made the change to my io.c in the stable-snapshot and it compiles OK
and runs my test script without the not-found error.
Not sure how long this will take to find
On Jan 2, 2008 5:24 AM, melvins <[EMAIL PROTECTED]> wrote:
>
> I had the same problem with you mike, what I did is I downloaded a
> stable-snapshot version of ruby, then I copy the missing/strftime.c file to
> hte 1.8.6 version, run make again, then it now all works.
This worked for me too. Both
works. Any ideas?
Incidentally, I downloaded the new development release of Ruby 1.9.0,
and it compiles just fine on Cygwin. It also runs my /dev/urandom bug
script without failing, and lseek is not called in the strace.
Mike Boone
http://boonedocks.net/mike/
--
Unsubscribe info: http://cygwin
10"...,
4096) = 4096
close(3)= 0
Thanks,
Mike Boone
http://boonedocks.net/mike/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
On Dec 22, 2007 7:51 AM, Corinna Vinschen <[EMAIL PROTECTED]> wrote:
> Looks like a bug in ruby. First of all, this works fine under Cygwin:
Thanks for analyzing this. I'll take it up at comp.lang.ruby and see
what happens.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-tal
unless cause_failure
end
puts generate_secret_with_urandom
---
So far, the strace output of this is too low level for me to follow.
Perhaps it will be clear to a regular Cygwin hacker.
BTW, I'm running "ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-cygwin]".
Mike Boone
and has diffs.
Can anyone make sense of it?
Thanks,
Mike Boone
http://boonedocks.net/mike/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http
On Dec 20, 2007 4:29 PM, Frodak Baksik <[EMAIL PROTECTED]> wrote:
> On Dec 20, 2007 10:28 AM, Mike Boone wrote:
> Can you access /dev/urandom outside of ruby? It might be a simpler
> check to ensure that /dev/urandom is working.
I ran all the commands you suggested with no
On Dec 19, 2007 11:59 PM, Igor Peshansky <[EMAIL PROTECTED]> wrote:
> Well, /dev/urandom certainly exists in Cygwin. I'm not a Ruby expert, but
> considering that adding a puts() before the file open seems to fix it, I'd
> look somewhere in the Ruby code. But you can try running the original
> un
this is Cygwin's fault or something peculiar about the
Rails code, though it looks reasonable.
Thanks,
Mike Boone.
http://boonedocks.net/mike/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation:
10 matches
Mail list logo