Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 3 Heroku:在任何源代码中都找不到libv8-3.15.11.1_Ruby On Rails 3_Heroku - Fatal编程技术网

Ruby on rails 3 Heroku:在任何源代码中都找不到libv8-3.15.11.1

Ruby on rails 3 Heroku:在任何源代码中都找不到libv8-3.15.11.1,ruby-on-rails-3,heroku,Ruby On Rails 3,Heroku,我知道Github上有很多这样的问题(我已经看完了所有这些问题),但没有一个答案对我有用 当我尝试“git push heroku master”时,我得到了一个错误“在任何源代码中都找不到libv8-3.15.11.1”。我在Gemfile中指定了libv8的版本(使用gem“libv8”,“~>3.11.8.13”),我认为这反映在我的Gemfile.lock(“libv8(3.11.8.13)”。我不明白为什么我指定了3.11.8.13,它却在寻找版本3.15.11.1 我确保我对Gemf

我知道Github上有很多这样的问题(我已经看完了所有这些问题),但没有一个答案对我有用

当我尝试“git push heroku master”时,我得到了一个错误“在任何源代码中都找不到libv8-3.15.11.1”。我在Gemfile中指定了libv8的版本(使用gem“libv8”,“~>3.11.8.13”),我认为这反映在我的Gemfile.lock(“libv8(3.11.8.13)”。我不明白为什么我指定了3.11.8.13,它却在寻找版本3.15.11.1

我确保我对Gemfiles的所有更改都已提交(当我执行“git状态”时,我得到“无需提交(工作目录清理)”

我还尝试删除heroku并重新添加它(使用“git remote rm heroku”和“git push heroku master”)

Gemfile:

source 'https://rubygems.org'

gem 'rails', '3.2.8'

group :development do
    gem 'sqlite3'
end

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

gem 'json'

gem 'rmagick'

# 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'
  gem "twitter-bootstrap-rails"
  gem "less-rails"
  gem 'jquery-fileupload-rails'
end

gem 'jquery-rails'

gem 'activeadmin'
gem "meta_search",    '>= 1.1.0.pre'

gem 'friendly_id'

gem 'gon'

gem 'formtastic'

gem 'js-routes'

gem "therubyracer"

gem "libv8", "~> 3.11.8.13"

gem 'carrierwave'

gem 'ckeditor_rails'

gem 'font-awesome-rails'

group :production do
    gem 'pg', '0.12.2'
end

# 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'
Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    actionmailer (3.2.8)
      actionpack (= 3.2.8)
      mail (~> 2.4.4)
    actionpack (3.2.8)
      activemodel (= 3.2.8)
      activesupport (= 3.2.8)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      journey (~> 1.0.4)
      rack (~> 1.4.0)
      rack-cache (~> 1.2)
      rack-test (~> 0.6.1)
      sprockets (~> 2.1.3)
    activeadmin (0.5.1)
      arbre (>= 1.0.1)
      bourbon (>= 1.0.0)
      devise (>= 1.1.2)
      fastercsv
      formtastic (>= 2.0.0)
      inherited_resources (>= 1.3.1)
      jquery-rails (>= 1.0.0)
      kaminari (>= 0.13.0)
      meta_search (>= 0.9.2)
      rails (>= 3.0.0)
      sass (>= 3.1.0)
    activemodel (3.2.8)
      activesupport (= 3.2.8)
      builder (~> 3.0.0)
    activerecord (3.2.8)
      activemodel (= 3.2.8)
      activesupport (= 3.2.8)
      arel (~> 3.0.2)
      tzinfo (~> 0.3.29)
    activeresource (3.2.8)
      activemodel (= 3.2.8)
      activesupport (= 3.2.8)
    activesupport (3.2.8)
      i18n (~> 0.6)
      multi_json (~> 1.0)
    arbre (1.0.1)
      activesupport (>= 3.0.0)
    arel (3.0.2)
    bcrypt-ruby (3.0.1)
    bourbon (3.1.1)
      sass (>= 3.2.0)
      thor
    builder (3.0.4)
    carrierwave (0.8.0)
      activemodel (>= 3.2.0)
      activesupport (>= 3.2.0)
    ckeditor_rails (4.0.1.1)
      railties (>= 3.0)
    coffee-rails (3.2.2)
      coffee-script (>= 2.2.0)
      railties (~> 3.2.0)
    coffee-script (2.2.0)
      coffee-script-source
      execjs
    coffee-script-source (1.4.0)
    commonjs (0.2.6)
    devise (2.2.3)
      bcrypt-ruby (~> 3.0)
      orm_adapter (~> 0.1)
      railties (~> 3.1)
      warden (~> 1.2.1)
    erubis (2.7.0)
    execjs (1.4.0)
      multi_json (~> 1.0)
    fastercsv (1.5.5)
    font-awesome-rails (3.0.2.0)
      railties (>= 3.1)
    formtastic (2.2.1)
      actionpack (>= 3.0)
    friendly_id (4.0.9)
    gon (4.0.2)
      actionpack (>= 2.3.0)
      json
    has_scope (0.5.1)
    hike (1.2.1)
    i18n (0.6.1)
    inherited_resources (1.3.1)
      has_scope (~> 0.5.0)
      responders (~> 0.6)
    journey (1.0.4)
    jquery-fileupload-rails (0.4.1)
      actionpack (>= 3.1)
      railties (>= 3.1)
    jquery-rails (2.2.1)
      railties (>= 3.0, < 5.0)
      thor (>= 0.14, < 2.0)
    js-routes (0.8.7)
      rails (>= 3.2)
    json (1.7.7)
    kaminari (0.14.1)
      actionpack (>= 3.0.0)
      activesupport (>= 3.0.0)
    less (2.2.2)
      commonjs (~> 0.2.6)
    less-rails (2.2.6)
      actionpack (>= 3.1)
      less (~> 2.2.0)
    libv8 (3.11.8.13)
    mail (2.4.4)
      i18n (>= 0.4.0)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    meta_search (1.1.3)
      actionpack (~> 3.1)
      activerecord (~> 3.1)
      activesupport (~> 3.1)
      polyamorous (~> 0.5.0)
    mime-types (1.21)
    multi_json (1.6.1)
    orm_adapter (0.4.0)
    pg (0.12.2)
    polyamorous (0.5.0)
      activerecord (~> 3.0)
    polyglot (0.3.3)
    rack (1.4.5)
    rack-cache (1.2)
      rack (>= 0.4)
    rack-ssl (1.3.3)
      rack
    rack-test (0.6.2)
      rack (>= 1.0)
    rails (3.2.8)
      actionmailer (= 3.2.8)
      actionpack (= 3.2.8)
      activerecord (= 3.2.8)
      activeresource (= 3.2.8)
      activesupport (= 3.2.8)
      bundler (~> 1.0)
      railties (= 3.2.8)
    railties (3.2.8)
      actionpack (= 3.2.8)
      activesupport (= 3.2.8)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      rdoc (~> 3.4)
      thor (>= 0.14.6, < 2.0)
    rake (10.0.3)
    rdoc (3.12.1)
      json (~> 1.4)
    ref (1.0.2)
    responders (0.9.3)
      railties (~> 3.1)
    rmagick (2.13.2)
    sass (3.2.5)
    sass-rails (3.2.6)
      railties (~> 3.2.0)
      sass (>= 3.1.10)
      tilt (~> 1.3)
    sprockets (2.1.3)
      hike (~> 1.2)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    sqlite3 (1.3.7)
    therubyracer (0.11.3)
      libv8 (~> 3.11.8.12)
      ref
    thor (0.17.0)
    tilt (1.3.3)
    treetop (1.4.12)
      polyglot
      polyglot (>= 0.3.1)
    twitter-bootstrap-rails (2.2.4)
      actionpack (>= 3.1)
      execjs
      railties (>= 3.1)
    tzinfo (0.3.35)
    uglifier (1.3.0)
      execjs (>= 0.3.0)
      multi_json (~> 1.0, >= 1.0.2)
    warden (1.2.1)
      rack (>= 1.0)

PLATFORMS
  ruby

DEPENDENCIES
  activeadmin
  carrierwave
  ckeditor_rails
  coffee-rails (~> 3.2.1)
  font-awesome-rails
  formtastic
  friendly_id
  gon
  jquery-fileupload-rails
  jquery-rails
  js-routes
  json
  less-rails
  libv8 (~> 3.11.8.13)
  meta_search (>= 1.1.0.pre)
  pg (= 0.12.2)
  rails (= 3.2.8)
  rmagick
  sass-rails (~> 3.2.3)
  sqlite3
  therubyracer
  twitter-bootstrap-rails
  uglifier (>= 1.0.3)
GEM
远程:https://rubygems.org/
规格:
actionmailer(3.2.8)
actionpack(=3.2.8)
邮件(~>2.4.4)
actionpack(3.2.8)
活动模型(=3.2.8)
主动支持(=3.2.8)
生成器(~>3.0.0)
erubis(~>2.7.0)
行程(~>1.0.4)
机架(~>1.4.0)
机架缓存(~>1.2)
机架测试(~>0.6.1)
链轮(~>2.1.3)
activeadmin(0.5.1)
arbre(>=1.0.1)
波旁威士忌(>=1.0.0)
设计(>=1.1.2)
fastercsv
formtastic(>=2.0.0)
继承的资源(>=1.3.1)
jquery rails(>=1.0.0)
卡米纳里(>=0.13.0)
元搜索(>=0.9.2)
轨道(>=3.0.0)
sass(>=3.1.0)
activemodel(3.2.8)
主动支持(=3.2.8)
生成器(~>3.0.0)
activerecord(3.2.8)
活动模型(=3.2.8)
主动支持(=3.2.8)
arel(~>3.0.2)
tzinfo(~>0.3.29)
activeresource(3.2.8)
活动模型(=3.2.8)
主动支持(=3.2.8)
activesupport(3.2.8)
i18n(~>0.6)
多重json(~>1.0)
arbre(1.0.1)
activesupport(>=3.0.0)
阿雷尔(3.0.2)
bcrypt ruby(3.0.1)
波旁威士忌(3.1.1)
sass(>=3.2.0)
雷神
建筑商(3.0.4)
carrierwave(0.8.0)
activemodel(>=3.2.0)
activesupport(>=3.2.0)
ckeditor_导轨(4.0.1.1)
钢轨(>=3.0)
咖啡架(3.2.2)
咖啡脚本(>=2.2.0)
钢轨(~>3.2.0)
咖啡脚本(2.2.0)
咖啡脚本源
execjs
coffee脚本源代码(1.4.0)
commonjs(0.2.6)
设计(2.2.3)
bcrypt红宝石(~>3.0)
orm_适配器(~>0.1)
钢轨(~>3.1)
典狱长(~>1.2.1)
erubis(2.7.0)
execjs(1.4.0)
多重json(~>1.0)
fastercsv(1.5.5)
字体(3.0.2.0)
钢轨(>=3.1)
formtastic(2.2.1)
actionpack(>=3.0)
友好id(4.0.9)
gon(4.0.2)
actionpack(>=2.3.0)
json
具有_范围(0.5.1)
徒步旅行(1.2.1)
i18n(0.6.1)
继承的资源(1.3.1)
具有\u范围(~>0.5.0)
响应者(~>0.6)
旅程(1.0.4)
jquery文件上传rails(0.4.1)
actionpack(>=3.1)
钢轨(>=3.1)
jquery rails(2.2.1)
钢轨(>=3.0,<5.0)
雷神(>=0.14,<2.0)
js路线(0.8.7)
轨道(>=3.2)
json(1.7.7)
卡米纳里(0.14.1)
actionpack(>=3.0.0)
activesupport(>=3.0.0)
减(2.2.2)
commonjs(~>0.2.6)
少轨(2.2.6)
actionpack(>=3.1)
更少(~>2.2.0)
libv8(3.11.8.13)
邮件(2.4.4)
i18n(>=0.4.0)
mime类型(~>1.16)
树梢(~>1.4.8)
元搜索(1.1.3)
actionpack(~>3.1)
activerecord(~>3.1)
activesupport(~>3.1)
多元(~>0.5.0)
mime类型(1.21)
多线程json(1.6.1)
orm_适配器(0.4.0)
pg(0.12.2)
多妻制(0.5.0)
activerecord(~>3.0)
polyglot(0.3.3)
机架(1.4.5)
机架缓存(1.2)
机架(>=0.4)
机架ssl(1.3.3)
支架
机架测试(0.6.2)
机架(>=1.0)
轨道(3.2.8)
actionmailer(=3.2.8)
actionpack(=3.2.8)
activerecord(=3.2.8)
活动资源(=3.2.8)
主动支持(=3.2.8)
捆扎机(~>1.0)
栏杆(=3.2.8)
栏杆(3.2.8)
actionpack(=3.2.8)
主动支持(=3.2.8)
机架ssl(~>1.3.2)
耙(大于等于0.8.7)
rdoc(~>3.4)
雷神(>=0.14.6,<2.0)
耙(10.0.3)
rdoc(3.12.1)
json(~>1.4)
参考(1.0.2)
回应者(0.9.3)
钢轨(~>3.1)
rmagick(2.13.2)
sass(3.2.5)
sass轨道(3.2.6)
钢轨(~>3.2.0)
sass(>=3.1.10)
倾斜(~>1.3)
链轮(2.1.3)
徒步旅行(~>1.2)
机架(~>1.0)
倾斜(~>1.1,!=1.3.0)
sqlite3(1.3.7)
瑟鲁比拉克(0.11.3)
libv8(~>3.11.8.12)
裁判
雷神(0.17.0)
倾斜(1.3.3)
树梢(1.4.12)
多语言文字
多克隆(>=0.3.1)
twitter引导程序rails(2.2.4)
actionpack(>=3.1)
execjs
钢轨(>=3.1)
tzinfo(0.3.35)
丑八怪(1.3.0)
execjs(>=0.3.0)
多重json(~>1.0,>=1.0.2)
监狱长(1.2.1)
机架(>=1.0)
平台
红宝石
依赖关系
活动管理员
卡里尔瓦夫
ckeditor_导轨
咖啡轨(~>3.2.1)
字体很棒的rails
formtastic
友好的
刚
jquery文件上传rails
jquery rails
js路线
json
少轨
libv8(~>3.11.8.13)
元搜索(>=1.1.0.pre)
pg(=0.12.2)
轨道(=3.2.8)
马吉克
sass轨道(~>3.2.3)
sqlite3
瑟鲁比拉克
推特引导轨道
uglifier(>=1.0.3)

根据本页:

“瑟鲁比拉克 如果您以前使用过therubyracer或therubyracer heroku,则不再需要这些宝石,强烈反对使用,因为这些宝石占用大量内存。”

因此,我从我的测试应用程序中删除了这些,然后我在ubuntu本地机器上安装了node.js,并像在heroku上一样运行良好

请看这个问题:

谢谢你的帮助。即使