A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rbenv/rbenv/issues/121 below:

RBENV_VERSION ignored when shelling out from ruby · Issue #121 · rbenv/rbenv · GitHub

This shows that RBENV_VERSION works when executed from Perl but not from Ruby. In this example, global version is set to 1.9.2p290.

$ ruby --version
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
$ perl -e 'system("RBENV_VERSION=system ruby -e \"puts RUBY_VERSION\"")'
1.8.7
$ ruby -e 'system("RBENV_VERSION=system ruby -e \"puts RUBY_VERSION\"")'
1.9.2

RBENV_VERSION should always work, shouldn't it?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4