Hi all,
Lest I forget:
Windows XP Pro SP2
C:\CruiseControl\cruisecontrolrb-1.3.0>ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
We found two minor problems with CC.rb when trying to run on windows.
The first effects the Dashboard saying there is no project. In
boot.rb we had to add a .gsub('\\','/') in #find_home when returning
the USERPROFILE. (Unrelated to our problems, but possibly relevant to
some: at line 8 my system would not require the ':' as it is already
part of SYSTEMDRIVE).
Second, since our USERPROFILE starts C:\Documents and Settings\... the
we need additional quoting in CommandLine#execute around the :stdout
and :stderr options. File.expand_path returns a string with embedded
spaces which would be choked on later. We just wrapped those options
on lines 67 and 68 with quotation marks.
With those two changes, CC.rb is working great for us. Thanks for
your efforts, and I hope these little notes will help other windows
users.
--
Joe Swatosh
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users