sstephenson/rbenv — Issue #198: rbenv with system ruby
Author: stan3
Created: 2012-02-28 18:42:53+00:00
State: open

When using a rbenv ruby I get output when a command isn't found for the current ruby version:
> rbenv version
1.8.7-p358 (set by /home/stan/src/virginmedia/isms3/.rbenv-version)
> passenger-install-apache2-module
rbenv: passenger-install-apache2-module: command not found

The `passenger-install-apache2-module' command exists in these Ruby versions:
1.8.7-p352
1.9.2-p290

When using the system ruby I just get silence:
> rbenv version
system (set by /home/stan/.rbenv/version)
> bundle
> which bundle
/home/stan/.rbenv/shims/bundle
> echo $status
1

IMO it should be printing some kind of error.