我一直在为教程编写的 Ruby on Rails 应用程序不起作用。我之前通过 Git 程序完成了相同的推送,它正在工作。现在它显示以下错误,我做错了什么?
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
/usr/bin/env: ruby1.9.1: No such file or directory
Bundler Output: /usr/bin/env: ruby1.9.1: No such file or directory
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby/Rails app
To git@heroku.com:aqueous-savannah-3944.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:aqueous-savannah-3944.git'
这是应用程序的 GemFile
source 'https://rubygems.org'
gem 'rails'
group :development do
gem 'sqlite3'
gem 'rspec-rails'
end
group :test do
gem 'capybara'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails'
gem 'coffee-rails'
gem 'uglifier'
end
gem 'jquery-rails'
gem 'turbolinks'
group :production do
gem 'pg'
end