T
Todd Burch
On a Mac - Tiger 10.4.10.
I wrote a ruby script in TextWrangler (2.2.1) and saved it. I
inadvertently hit the space bar after the ".rb" and saved it. Then, not
realizing a blank got added to the name, I attempted to run it and it
could not be found. After messing with it, I realized the blank was
saved as the third character after the "b" in .rb.
Running
ruby myscript.rb
failed.
Running
ruby "myscript.rb "
worked. Is this a Mac thing? I've nevver know a blank character at the
end of a file name to be significant.
Todd
I wrote a ruby script in TextWrangler (2.2.1) and saved it. I
inadvertently hit the space bar after the ".rb" and saved it. Then, not
realizing a blank got added to the name, I attempted to run it and it
could not be found. After messing with it, I realized the blank was
saved as the third character after the "b" in .rb.
Running
ruby myscript.rb
failed.
Running
ruby "myscript.rb "
worked. Is this a Mac thing? I've nevver know a blank character at the
end of a file name to be significant.
Todd