I was trying to build IronRuby from SVN head, but I encountered a few
- Several times in context.rb, there are calls to String#basename
String#dirname. These should probably be replaced by
File.basename(some_string) and File.dirname(some_string),
- After fixing this I encountered something an issue because the
have been hard coded with “” as the path separator, which doesn’t
non-Windows systems. Since I’m not sure where all these paths are
from, and I don’t want to break other things, I’ve added pathname =
pathname.gsub(’\’, File::SEPARATOR) at the beginning of the method.
- This still doesn’t fix things, as the method is receiving a
surrounded by double quotes (“Actions\ActionSelfExpression.cs”),
just the filename. I’m not sure this is to be sure you don’t mess up
with spaces in them, but it causes trouble here. I’ve hacked around
removing the quotes before changing the separator issue, but this is
obviously a dirty hack.
- After I did this, it turned out the path being passed resided in a
subdirectory of the current directory, instead of the current
itself. I’m not sure what to do about this issue. Are all the paths
Has anyone else tried running a recent version on Mono?