RailアプリをHerokuにアップロードしようとしています。Ruby1.9.3を使用しています。アプリはローカルマシンに正常にデプロイできます。
An error occurred while installing linecache19 (0.5.12), and Bundler cannot continue.
Make sure that `gem install linecache19 -v '0.5.12'` succeeds before bundling.
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
この行をGemfileに入力してみました
gem 'linecache19', :git => 'git://github.com/mark-moseley/linecache'
しかし、それは問題を解決していないようです。
誰かアドバイスしてもらえますか?よろしくお願いします。ps:初心者の質問には本当に申し訳ありませんが、RubyonRailsの開発はかなり新しいです。
以下は私の完全なGemfileです
source 'http://rubygems.org'
gem 'rails', '3.1.0'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
# for Heroku deployment - as described in Ap. A of ELLS book
group :development, :test do
gem 'sqlite3'
gem 'ruby-debug19', :require => 'ruby-debug'
end
group :production do
gem 'pg'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'therubyracer'
gem 'sass-rails', " ~> 3.1.0"
gem 'coffee-rails', "~> 3.1.0"
gem 'uglifier'
end
gem 'jquery-rails'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
gem 'haml'
gem 'linecache19', :git => 'git://github.com/mark-moseley/linecache'