Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/66.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 捆绑安装循环依赖项_Ruby On Rails_Bundler_Bundle - Fatal编程技术网

Ruby on rails 捆绑安装循环依赖项

Ruby on rails 捆绑安装循环依赖项,ruby-on-rails,bundler,bundle,Ruby On Rails,Bundler,Bundle,以下控制台日志应描述该问题 bundle install Could not find multi_json-1.1.0 in any of the sources Run `bundle install` to install missing gems. bundle install要求我进行bundle安装 已尝试: 查看: 不知道下一步该去哪里 同样有趣的是,如果我们从内部供应商/gems中对所有gems进行评论,那么捆绑包工作正常 来源'http://rubygems.org" gem

以下控制台日志应描述该问题

bundle install
Could not find multi_json-1.1.0 in any of the sources
Run `bundle install` to install missing gems.
bundle install要求我进行bundle安装

已尝试:
查看:

不知道下一步该去哪里

同样有趣的是,如果我们从内部供应商/gems中对所有gems进行评论,那么捆绑包工作正常

来源'http://rubygems.org"

gem 'rails', '~> 3.2.2'

gem 'mysql2'
gem 'thin'

# Asset template engines
gem 'coffee-script'
gem 'uglifier'
gem 'sprockets'
gem 'less-js'
gem 'execjs'
gem 'nokogiri'
gem 'lucy'
gem 'babilu'
gem 'simple_form'
gem 'mechanize'
gem 'geoip'
gem 'less'
gem 'bb-ruby'
gem 'client_side_validations', "~> 3.2.0.beta.2"
gem 'client_side_validations-simple_form'
gem 'require_all'

#for avatars
gem 'paperclip'

gem 'rmagick'
gem "multipart-post"
gem 'gibberish'
# Memcached client
gem 'dalli'

#to support tables without auto-incrementing primary keys
gem 'composite_primary_keys', "~> 5.0.1"

gem 'calendar_helper', :require => 'calendar_helper'

gem 'jquery-rails'

gem 'capistrano'
gem 'capistrano-ext'

gem 'simple_form'
gem 'htmlentities'
gem 'will_paginate'

gem 'airbrake', :path => "vendor/gems/airbrake"

gem "uservoice", :path => "vendor/gems/uservoice"

# For spambots
gem "honeypot-captcha"

# Internationalization GUI
gem "tolk", :git => "http://github.com/miloops/tolk.git", :branch => "rails31"
gem "will-paginate-i18n"

gem "omniauth"
gem "omniauth-facebook"
gem "omniauth-justintv", :git => 'http://github.com/themindoverall/omniauth-justintv.git'
gem 'oauth'

gem 'rails-i18n'

# For rate limiting
gem "rack-throttle", :path => "vendor/gems/rack-throttle"

gem "xfire-api", :path => "vendor/gems/xfire-api"
gem "anametrix", :path => "vendor/gems/anametrix"

#To make ruby debug work see: http://stackoverflow.com/questions/6438116/rails-with-ruby-debugger-throw-symbol-not-found-ruby-current-thread-loaderro
group :development, :test do
  #gem 'ruby-debug-base19', '0.11.26', :path => "~/.rvm/gems/ruby-1.9.3-p#{RUBY_PATCHLEVEL}/gems/ruby-debug-base19-0.11.26/"
  #gem 'linecache19', '0.5.13', :path => "~/.rvm/gems/ruby-1.9.3-p#{RUBY_PATCHLEVEL}/gems/linecache19-0.5.13/"
  #gem 'ruby-debug19', :require => 'ruby-debug'
  gem 'ruby_parser'
end

group :test do
  gem 'ruby-prof'
  gem 'test-unit' # For performance testing

  gem 'turn', :require => false
  gem 'factory_girl_rails', "~> 1.0.1"
  gem 'capybara', "~> 1.0.0"
  gem 'database_cleaner', '~> 0.6.7'

  gem 'rspec-rails', "~> 2.6.1"
  gem 'cucumber-rails', "~> 1.0.0"
  gem 'webrat', "~> 0.7.3"
  gem 'autotest'
  gem 'simplecov'
  gem 'autotest-rails-pure'

    gem 'simplecov', :require => false, :group => :test
  gem 'spork'
end

group :production do
    gem 'rack-google_analytics', :require => "rack/google_analytics"
end

您是否在
gem文件中声明了该gem?有时,指定一个特定的版本会有所帮助,就像您为某些用户所做的那样:

gem 'multi-json', '1.1.0'

如果有人被困在这个问题上,那么答案就是我们的一颗本土宝石:

gem“xfireapi”,路径=>“vendor/gems/xfireapi”


由GEMPEC中未指定的gem提供要求。如果你被困在这个问题上,并且有自己的gems,请查看所有需要的文件,并确保所有文件都由gems提供,您在Gemspec中指定了gems

玩这个。不行。这不是特别的宝石,这只是第一个需要更新的宝石。清除服务器上的卖方捆绑包,然后要求使用rake而不是multi-json。这只是第一个需要安装的gem。请将gem放在gemfile中,并沿该路径执行捆绑更新。不行。它失败的gem是它需要安装的下一个gem。你用anametrix干什么