以下环境是:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2009-06-08 patchlevel 173) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/something/ruby/gems
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /home/something/ruby/gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/soemthing/ruby/gems
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gempath" => ["/home/something/ruby/gems"]
- "gem" => "--remote --gen-rdoc --run-tests"
- :sources => ["http://rubygems.org/", "http://gems.github.com"]
- "gemhome" => "/home/something/ruby/gems"
- "rdoc" => "--inline-source --line-numbers"
- REMOTE SOURCES:
- http://rubygems.org/
- http://gems.github.com
和SUBSTRUCT版本:1.3.1
我需要将此版本增强为:
RUBY:1.9.3
RAILS:3.2.7
请指导我对现有系统的影响
谢谢
答案 0 :(得分:0)
我相信你的问题太模糊了。
Ruby 1.9中发生了很多变化,我们对您的应用程序一无所知。另外,如果从Rails 2升级,则会增加更多潜在错误。
您必须首先在开发计算机上针对这些版本测试您的应用程序。使用rbenv或rvm!
首先,请看一下此幻灯片:http://slideshow.rubyforge.org/ruby19.html#1