0
Я хотел бы создать промежуточную среду на Heroku, помимо производственной среды. Я подготовил заявление env следующим образом.Heroku промежуточной среде. Не удалось установить драгоценные камни через Bundler
heroku create odai-staging --remote staging
heroku config:add RACK_ENV=staging RAILS_ENV=staging --remote staging
В Gemfile подготовлена группа постановки.
group :production, :staging do
gem 'pg'
gem 'rails_12factor'
end
Затем сделайте следующее.
Однако у меня есть следующие ошибки. Как мне это сделать? В ожидании ответа от вас.
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Could not find net-ssh-2.10.0 in any of the sources
remote: Bundler Output: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Could not find net-ssh-2.10.0 in any of the sources
remote: !
remote: ! Failed to install gems via Bundler.
проверить эту нить, я думаю, что это поможет: http://stackoverflow.com/questions/31793791/push-to-heroku-fails-could-not-find-net-ssh-2-10 -0-in-any-of-the-the-sources-faile – HolyMoly
Спасибо! Я проверю это сейчас. – lalala
Это не решило проблему. Я продолжу поиск другого решения. – lalala