Heroku卡住了安装Gemfile依赖项

时间:2013-01-05 20:56:46

标签: ruby-on-rails heroku

当我尝试部署到heroku时,宝石从未完成安装。我在本地计算机上进行了捆绑更新,以查看是否存在问题。这没有用。

我怀疑它可能是libv8,但由于我的config / application.rb文件中有以下内容,因此不应该部署:

Bundler.require(*Rails.groups(:assets => %w(development test)))

以下是将rails应用程序部署到heroku时的日志:

$ git push heroku master
Counting objects: 176, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (156/156), done.
Writing objects: 100% (176/176), 37.46 KiB, done.
Total 176 (delta 41), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
       Fetching gem metadata from https://rubygems.org/.........
       Fetching gem metadata from https://rubygems.org/..
       Installing rake (10.0.3)
       Installing i18n (0.6.1)           
       Installing multi_json (1.5.0)
       Installing activesupport (3.2.9)           
       Installing builder (3.0.4)
       Installing activemodel (3.2.9)           
       Installing erubis (2.7.0)
       Installing journey (1.0.4)           
       Installing rack (1.4.1)
       Installing rack-cache (1.2)           
       Installing rack-test (0.6.2)
       Installing hike (1.2.1)           
       Installing tilt (1.3.3)
       Installing sprockets (2.2.2)
       Installing actionpack (3.2.9)
       Installing mime-types (1.19)
       Installing polyglot (0.3.3)
       Installing treetop (1.4.12)
       Installing mail (2.4.4)
       Installing actionmailer (3.2.9)
       Installing arel (3.0.2)
       Installing tzinfo (0.3.35)
       Installing activerecord (3.2.9)
       Installing activeresource (3.2.9)
       Installing bcrypt-ruby (3.0.1)
       Installing sass (3.2.5)
       Installing bootstrap-sass (2.2.2.0)
       Installing coffee-script-source (1.4.0)
       Installing execjs (1.4.0)
       Installing coffee-script (2.2.0)
       Installing rack-ssl (1.3.2)
       Installing json (1.7.6)
       Installing rdoc (3.12)
       Installing thor (0.16.0)
       Installing railties (3.2.9)
       Installing coffee-rails (3.2.2)
       Installing jquery-rails (2.1.4)

这是我的Gemfile:

source 'https://rubygems.org'

gem 'rails', '3.2.9'

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

gem 'sqlite3'

gem 'json'

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

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

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'

# To use ActiveModel has_secure_password
gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the app server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'ruby-debug'

1 个答案:

答案 0 :(得分:1)

正在安装libv8。当我第一次开始时,我需要它来解决一些错误。现在看来我不需要它。