On Wed, Jan 5, 2011 at 5:55 PM, Luis Lavena <luislavena / gmail.com> wrote: > On Jan 5, 12:27=A0pm, "Kasper F." <wtdniel... / gmail.com> wrote: >> Dan Quach wrote in post #889421: >> >> >> >> > Here, it uses "C:/users/shinzu" which is totally incorrect for cygwin. >> > I also noticed that this is where files were being uploaded to >> > temporarily >> >> > Question: What is the environment variable responsible for uploading >> > temporary files like this? =A0I need to make sure c:/users/shinzu is >> > \cygdrive\c\users\shinzu No, you want /cygdrive/c/users/shinzu If you use backslash you need to include two per backslash in a file name: name =3D "C:\\foo\\bar" >> I had the same problem, and it took me 3 weeks to solve. >> You have to change the temp file path. >> In enviroment.rb write: >> ENV['TMPDIR'] =3D '/cygdrive/c/users/shinzu' >> > > Question, are you using cygwin Ruby or native Ruby? because > File.expand_path of cygwin will return the proper cygdrive while > mixing native RUby with cygwin libraries will not work. And if you mix you can use cygpath command for path conversions. Kind regards robert --=20 remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/