我正在尝试使用cPanel在服务器上升级
ruby和rails gem,为此我安装了rvm并且我成功安装了不同版本的ruby …很棒的东西!
但是遇到问题,服务器似乎忽略了使用哪个gemset.安装1.9.2的新副本后,我仍然得到相同的宝石列表,GEM_PATH / GEMHOME是相同的:
$>gem env RubyGems Environment: – RUBYGEMS VERSION: 1.8.15 – RUBY VERSION: 1.9.2 (2011-07-09 patchlevel 290) [x86_64-linux] – INSTALLATION DIRECTORY: /home/ruby/ruby/gems – RUBY EXECUTABLE: /home/ruby/.rvm/rubies/ruby-1.9.2-p290/bin/ruby – EXECUTABLE DIRECTORY: /home/ruby/ruby/gems/bin – RUBYGEMS PLATFORMS: – ruby – x86_64-linux – GEM PATHS: – /home/ruby/ruby/gems – GEM CONFIGURATION: – :update_sources => true – :verbose => true – :benchmark => false – :backtrace => false – :bulk_threshold => 1000 – “gem” => “–remote –gen-rdoc –run-tests” – “gemhome” => “/home/ruby/ruby/gems” – “gempath” => [] – “rdoc” => “–inline-source –line-numbers” – REMOTE SOURCES: – http://rubygems.org/
创建新的gemsets并尝试使用新的gemset不会改变任何东西
是否愿意让这个工作,我能做些什么来解决这个问题?
P.S:我知道这将打破cPanel的“ruby on rails”功能,用户必须使用shell提示符来生成应用程序.
~]# rvm list rvm rubies ruby-1.8.7-p357 [ x86_64 ] =* ruby-1.9.2-p290 [ x86_64 ] # => - current # =* - current && default # * - default