Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cshoes (osx) confused about DIR #175
on osx terminal, in the shoes source code root,
The DIR constant is set into ruby before shoes.rb runs so it shouldn't be modified and there are legacy issues if it was changeable. Should we have an SDIR (e.g.)constant that script writers can use to locate their resources next to their script, whether it was launched from the command line or inside a package app? I suspect `SDIR = Dir.getwd() would work for most cases which also means I should not be a lazy script writer and use DIR Having written this much and thought about it even more, SDIR is probably a bad idea.