今、私は、決済代行サービスpayjpを導入しようと考えているのですが、エラーによってインストールできない状態になっています。もしわかる方がいらしたら教えて頂きたいです。
error
1$ bundle install 2 3Fetching source index from https://rubygems.org/ 4 5Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/ 6Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/ 7Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/ 8Could not fetch specs from https://rubygems.org/
実行したこと
try
1$ gem update --system 2Latest version currently installed. Aborting. 3 4$ bundle install 5 6Fetching source index from https://rubygems.org/ 7 8Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/ 9Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/ 10Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from https://rubygems.org/ 11Could not fetch specs from https://rubygems.org/
Gemfile
1source 'https://rubygems.org' 2 3# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 4gem 'rails', '4.2.11' 5# Use mysql as the database for Active Record 6gem 'mysql2', '0.3.18' 7# Use SCSS for stylesheets 8gem 'sass-rails', '~> 4.0.2' 9# Use Uglifier as compressor for JavaScript assets 10gem 'uglifier', '>= 1.3.0' 11# Use CoffeeScript for .coffee assets and views 12gem 'coffee-rails', '~> 4.1.0' 13# See https://github.com/rails/execjs#readme for more supported runtimes 14# gem 'therubyracer', platforms: :ruby 15 16# Use jquery as the JavaScript library 17gem 'jquery-rails' 18# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks 19gem 'turbolinks' 20# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 21gem 'jbuilder', '~> 2.0' 22# bundle exec rake doc:rails generates the API under doc/api. 23gem 'sdoc', '~> 0.4.0', group: :doc 24 25# Use ActiveModel has_secure_password 26# gem 'bcrypt', '~> 3.1.7' 27 28# Use Unicorn as the app server 29# gem 'unicorn' 30 31# Use Capistrano for deployment 32# gem 'capistrano-rails', group: :development 33 34group :development, :test do 35 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 36 gem 'byebug' 37end 38 39group :development do 40 # Access an IRB console on exception pages or by using <%= console %> in views 41 gem 'web-console', '~> 2.0' 42 43 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring 44 gem 'spring' 45end 46 47gem 'payjp' 48gem 'pry-rails' 49gem 'compass-rails','~> 2.0' 50gem 'sprockets', '2.11.0' 51gem 'websocket-rails' 52 53#pagenation 54gem 'kaminari' 55 56#login_logout 57gem 'devise' 58gem 'paperclip' 59 60#For Heroku 61gem 'rails_12factor', group: :production 62gem 'therubyracer', platforms: :ruby 63 64#画像 65gem 'carrierwave' 66gem 'rmagick' 67
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。