当我推送到 Heroku 时,我收到以下消息:
Invalid RUBY_VERSION specified: Unfortunately,-a-fatal-error-has-occurred.-Please
-see-the-Bundler-troubleshooting-documentation-at-http://bit.ly/bundler-
issues.-Thanks!
! Valid versions: ruby-2.0.0, ruby-1.9.3, ruby-1.9.2, ruby-1.8.7,
ruby-1.9.3-jruby-1.7.0, ruby-1.8.7-jruby-1.7.0, ruby-1.9.3-jruby-1.7.1,
ruby-1.8.7-jruby-1.7.1, ruby-1.9.3-rbx-2.0.0dev, ruby-1.8.7-rbx-2.0.0dev
!
! Heroku push rejected, failed to compile Ruby/rails app
尝试运行时->git push heroku master
ruby -v
ruby 1.9.3p385 (2013-02-06 revision 39114) [x86_64-darwin12.3.0]
在我的 Gemfile 和 Gemfile.heroku
...
source 'http://rubygems.org'
ruby '1.9.3'
做了所有[解决捆绑程序问题的步骤](https://github.com/carlhuda/bundler/blob/master/ISSUES.md],但仍然没有运气。