无法降级heroku版本

时间:2013-06-20 21:17:19

标签: ruby-on-rails heroku

我想在我的heroku应用程序上使用ruby 1.9.3并遵循本指南https://devcenter.heroku.com/articles/ruby-versions

我按照指示在我的gemfile中设置ruby '1.9.3'

部署我的应用时,日志告诉我

-----> Using Ruby version: ruby-2.0.0

...

-----> WARNINGS:
       you have not declared a Ruby version in your Gemfile.
       To set your Ruby version add this line to your Gemfile:"
       ruby '2.0.0'"

我还按照页面上的故障排除说明进行操作,并将路径更改为ATH = bin:vendor / bundle / ruby​​ / 1.9.3 / bin:/ usr / local / bin:/ usr / bin:/ bin 然后

heroku run ruby -v告诉我

ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]

现在还有什么不知所措。

感谢您的帮助。

的Gemfile:

source 'https://rubygems.org'
ruby '1.9.3'

gem 'rails', '3.2.11'


# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

group :development, :test do
  gem 'sqlite3'
end

group :production do
  gem 'pg'
end


gem "paperclip", "~> 3.0"
gem 'aws-sdk'
gem 'omniauth-facebook', '1.4.0'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', :platforms => :ruby

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

0 个答案:

没有答案
相关问题