Delano
Delano
That's curious. Thanks for reporting it. I don't use rails at all so it'll be difficult for me to test and fix, but I'd happily pull in a patch.
Thanks for the heads up. Can you submit a pull request?
Ya, I can see how that would be annoying. If you send a pull request, I'll bring it in.
I chose to return an exception for non-zero exit codes to avoid any ambiguity around successes and failures. Ideally Rye.shell would be consistent with that, but the class usage is...
@Hito01 You can pass the option `:error => false` to `Rye::Box.new` to avoid printing the `STDERR`.
You can also try adding an exception hook for the `Exception` class which does nothing but return. See: - https://github.com/delano/rye/blob/master/lib/rye/box.rb#L526 - https://github.com/delano/rye/blob/master/lib/rye/box.rb#L839
Thanks for bringing this back on the radar. Can you check if the change on that PR works for you? Using`if STDIN.tty? rescue nil` instead of checking the OS.
Thanks for this code review. I'll take a look soon and get back to you.
Ya, that seems reasonable. I'll look into it but I'm pretty swamped right now so it could take a while. If you'd like to submit a pull request with the...
Just an oversight, ya. Good catch.