Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/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
Deployment Bundler::GemNotFound:在任何源中都找不到net-ssh-2.7.0_Deployment_Ssh_Ruby On Rails 4_Capistrano_Bundler - Fatal编程技术网

Deployment Bundler::GemNotFound:在任何源中都找不到net-ssh-2.7.0

Deployment Bundler::GemNotFound:在任何源中都找不到net-ssh-2.7.0,deployment,ssh,ruby-on-rails-4,capistrano,bundler,Deployment,Ssh,Ruby On Rails 4,Capistrano,Bundler,我已将capistrano添加到我的文件中。运行bundle命令后,出现以下错误: Bundler::GemNotFound:在任何源代码中都找不到net-ssh-2.7.0 这是我的档案: source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '4.0.1' # Use mysql as the database for Activ

我已将capistrano添加到我的文件中。运行bundle命令后,出现以下错误:

Bundler::GemNotFound:在任何源代码中都找不到net-ssh-2.7.0

这是我的档案:

source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.1'

# Use mysql as the database for Active Record
gem 'mysql2'

# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'

# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'

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

# Use jquery as the JavaScript library
gem 'jquery-rails'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end


gem 'simple_form'
gem 'jquery-rails'
gem 'less-rails'
gem 'therubyracer'

gem "liquid"

gem "devise"
gem "devise-basecamper"
gem "cancan"
gem 'userstamp', git: 'git://github.com/andrezimpel/userstamp.git'



# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.1.2'

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

# Use Capistrano for deployment
group :development do
  gem 'capistrano'
end

# Use debugger
# gem 'debugger', group: [:development, :test]
当我删除
gem'capistrano'
时,一切正常


我不确定问题出在哪里,我希望有人能帮助我。

运行
rvm env.>。powenv为我工作

看来战俘给我惹了点麻烦

抄送: