4 ms·
Analogy failures: * Configuring /bin/sh to point to my shell of choice is trivial (and common) * Overriding the shebang is even more trivial, if I don't like
by masklinn 17y ago
Analogy failures:
* Configuring /bin/sh to point to my shell of choice is trivial (and common)
* Overriding the shebang is even more trivial, if I don't like sh, I can call `./mysupershell foobar`
Meanwhile, if I don't want gems on my machine and manage my $LOAD_PATH manually or through other means (which seems to be Ryan's case) but you decided that your library was going to require rubygems dammit, I have the choices between
* Installing rubygems (and duplicating my $LOAD_PATH handling efforts) anyway because you decided I was to have rubygems on my machine whether or not I liked it
* Adding an empty rubygems.rb to my $LOAD_PATH (yeah, kludge)
* Hacking Kernel#require to ignore gems request (yeah, horrible hack)
- tptacek 17y agoIf you're going to be in the tiny tiny minority of Ruby devs that insists on not installing rubygems, having a stubbed "rubygems.rb" in your load path is not an unreasonable request --- particularly compared to the request that everybody else uses some contorted command line to execute their script to accomodate you.
- extension 17y agoIt's unreasonable if you want to have both rubygems and some other package system available at the same time, as is most often the case. Having to use the contorted command line is the rare case, as you almost always invoke ruby scripts through the rubygems generated wrapper or some other isolated script intended specifically for command line use, which takes care of rubygems itself.
- deleted 17y ago[deleted]