有没有办法确定在Rails中运行的Ruby版本(在Web上还是通过script/console)?我安装了Ruby 1.8.6,但我还安装了Ruby Enterprise Edition 1.8.7-20090928,并希望确保它使用正确的安装.
script/console
ruby ruby-on-rails ruby-enterprise-edition
ruby ×1
ruby-enterprise-edition ×1
ruby-on-rails ×1