sstephenson/rbenv — Issue #194: Doesn't output anything when running "ruby -e"
Author: mauriziodemagnis
Created: 2012-02-16 14:58:58+00:00
State: open

## The problem

```shell
[olistik@ronin:~]$ ruby -e 'puts 42'

[olistik@ronin:~]$ /Users/olistik/.rbenv/versions/1.9.2-p290/bin/ruby -e 'puts 42'
42
```

## My environment

```shell
[olistik@ronin:~]$ cd ~/.rbenv
[master]$ git log -n 1
commit e899f1d31c9f3d976a3a40ab73e845d386e5e3e8
Merge: 9ea1f7d d1bfeee
Author: Sam Stephenson
Date: Thu Jan 26 16:25:24 2012 -0800

Merge pull request #183 from terceiro/new-hooks-dir

Add /usr/lib/rbenv/hooks to hook search path
[olistik@ronin:~]$ rbenv version
1.9.2-p290 (set by /Users/olistik/.rbenv/version)
[olistik@ronin:~]$ rbenv which ruby
/Users/olistik/.rbenv/versions/1.9.2-p290/bin/ruby

```