Re: Ruby on Rails 2.0.2/Cygwin Bug

2008-01-02 Thread Mike Boone
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

Re: Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)

2008-01-02 Thread Mike Boone
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

Building Ruby (was Re: Ruby on Rails 2.0.2/Cygwin Bug)

2007-12-26 Thread Mike Boone
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

Re: Ruby on Rails 2.0.2/Cygwin Bug

2007-12-22 Thread Mike Boone
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/

Re: Ruby on Rails 2.0.2/Cygwin Bug

2007-12-22 Thread Mike Boone
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

Re: Ruby on Rails 2.0.2/Cygwin Bug

2007-12-21 Thread Mike Boone
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

Re: Ruby on Rails 2.0.2/Cygwin Bug

2007-12-20 Thread 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

Re: Ruby on Rails 2.0.2/Cygwin Bug

2007-12-20 Thread Mike Boone
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

Re: Ruby on Rails 2.0.2/Cygwin Bug

2007-12-20 Thread Mike Boone
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

Ruby on Rails 2.0.2/Cygwin Bug

2007-12-19 Thread Mike Boone
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: