Skip to content

Instantly share code, notes, and snippets.

@jschementi
Created April 13, 2009 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jschementi/94767 to your computer and use it in GitHub Desktop.
Save jschementi/94767 to your computer and use it in GitHub Desktop.
# repro for http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=545
puts "__FILE__: #{__FILE__}"
puts "$0: #{$0}"
load 'c:\dev/codeplex-545\sub.rb'
load 'c:/dev\codeplex-545/foo\bar.rb'
puts "__FILE__: #{__FILE__}"
puts "$0: #{$0}"
c:\>ruby c:/dev\codeplex-545\545.rb
__FILE__: c:/dev/codeplex-545/545.rb
$0: c:/dev/codeplex-545/545.rb
__FILE__: c:\dev/codeplex-545\sub.rb
$0: c:/dev/codeplex-545/545.rb
__FILE__: c:/dev\codeplex-545/foo\bar.rb
$0: c:/dev/codeplex-545/545.rb
c:\>rbx c:/dev\codeplex-545/545.rb
__FILE__: c:/dev\codeplex-545/545.rb
$0: c:/dev\codeplex-545/545.rb
__FILE__: c:\dev/codeplex-545\sub.rb
$0: c:/dev\codeplex-545/545.rb
__FILE__: c:/dev\codeplex-545/foo\bar.rb
$0: c:/dev\codeplex-545/545.rb
puts "__FILE__: #{__FILE__}"
puts "$0: #{$0}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment