I have the same problema on Windows7, with the following code:

This generates EMFILE Error (BINARY Mode):
 File.open(compiled_filename, "wb") do |f|
    f.puts(version)
    f.puts(sha)
    f.write(contents)
 end

This one, NOT!! (TEXT Mode):
 File.open(compiled_filename, "w") do |f|
    f.puts(version)
    f.puts(sha)
    f.write(contents)
 end

Everything was right and doing very well until 4 days ago... Looks like 
some Windows 7 system stuff changed or something but I'm not able to 
figure out what it is!

What could it be??? HELP!!

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/fe32caf6e0778dc40e89c6a3a9429978%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to