前提・実現したいこと
Rubyで簡易インスタグラムを製作していたら、次のようなエラーメッセージがでてきました。
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
-
What did you do?
I ran the command
C:/Ruby26-x64/bin/bundle.cmd install
-
What did you expect to happen?
I expected Bundler to...
-
What happened instead?
Instead, what happened was...
-
Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried...
-
Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...
Backtrace
Errno::ENOENT: No such file or directory - git clone "https://github.com/manfe/refile.git" "C:/Ruby26-x64/lib/ruby/gems/2.6.0/cache/bundler/git/refile-dda9a459a21a57b5fb4ab4c2e4700bc3760f44bf" --bare --no-hardlinks --quiet
Environment
Bundler 1.17.2 Platforms ruby, x64-mingw32 Ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32] Full Path C:/Ruby26-x64/bin/ruby.exe Config Dir C:/ProgramData RubyGems 3.0.3 Gem Home C:/Ruby26-x64/lib/ruby/gems/2.6.0 Gem Path C:/Ruby26-x64/lib/ruby/gems/2.6.0;C:/Users/81808/.gem/ruby/2.6.0 User Path C:/Users/81808/.gem/ruby/2.6.0 Bin Dir C:/Ruby26-x64/bin OpenSSL Compiled OpenSSL 1.1.1g 21 Apr 2020 Loaded OpenSSL 1.1.1h 22 Sep 2020 Cert File C:/Ruby26-x64/ssl/cert.pem Cert Dir C:/Ruby26-x64/ssl/certs Tools Git not installed RVM not installed rbenv not installed chruby not installed
Bundler Build Metadata
Built At 2018-12-19 Git SHA 3fc4de72b Released Version false
Bundler settings
cache_all Set for your local app (C:/Users/81808/Desktop/recipegram/.bundle/config): true
Gemfile
Gemfile
ruby
1source 'https://rubygems.org' 2git_source(:github) { |repo| "https://github.com/#{repo}.git" } 3 4ruby '2.6.6' 5 6# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' 7gem 'rails', '~> 6.0.3', '>= 6.0.3.4' 8# Use mysql as the database for Active Record 9gem 'mysql2', '>= 0.4.4' 10# Use Puma as the app server 11gem 'puma', '~> 4.1' 12# Use SCSS for stylesheets 13gem 'sass-rails', '>= 6' 14# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker 15gem 'webpacker', '~> 4.0' 16# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks 17gem 'turbolinks', '~> 5' 18# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder 19gem 'jbuilder', '~> 2.7' 20# Use Redis adapter to run Action Cable in production 21# gem 'redis', '~> 4.0' 22# Use Active Model has_secure_password 23# gem 'bcrypt', '~> 3.1.7' 24 25# Use Active Storage variant 26# gem 'image_processing', '~> 1.2' 27 28# Reduces boot times through caching; required in config/boot.rb 29gem 'bootsnap', '>= 1.4.2', require: false 30 31group :development, :test do 32 # Call 'byebug' anywhere in the code to stop execution and get a debugger console 33 gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] 34end 35 36group :development do 37 # Access an interactive console on exception pages or by calling 'console' anywhere in the code. 38 gem 'web-console', '>= 3.3.0' 39end 40 41group :test do 42 # Adds support for Capybara system testing and selenium driver 43 gem 'capybara', '>= 2.15' 44 gem 'selenium-webdriver' 45 # Easy installation and use of web drivers to run system tests with browsers 46 gem 'webdrivers' 47end 48 49# Windows does not include zoneinfo files, so bundle the tzinfo-data gem 50gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] 51 52gem 'devise' 53gem "refile", require: "refile/rails", github: 'manfe/refile' 54gem "refile-mini_magick" 55gem "bulma-rails"
Gemfile.lock
GEM remote: https://rubygems.org/ specs: actioncable (6.0.3.4) actionpack (= 6.0.3.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) actionmailbox (6.0.3.4) actionpack (= 6.0.3.4) activejob (= 6.0.3.4) activerecord (= 6.0.3.4) activestorage (= 6.0.3.4) activesupport (= 6.0.3.4) mail (>= 2.7.1) actionmailer (6.0.3.4) actionpack (= 6.0.3.4) actionview (= 6.0.3.4) activejob (= 6.0.3.4) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) actionpack (6.0.3.4) actionview (= 6.0.3.4) activesupport (= 6.0.3.4) rack (~> 2.0, >= 2.0.8) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) actiontext (6.0.3.4) actionpack (= 6.0.3.4) activerecord (= 6.0.3.4) activestorage (= 6.0.3.4) activesupport (= 6.0.3.4) nokogiri (>= 1.8.5) actionview (6.0.3.4) activesupport (= 6.0.3.4) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) activejob (6.0.3.4) activesupport (= 6.0.3.4) globalid (>= 0.3.6) activemodel (6.0.3.4) activesupport (= 6.0.3.4) activerecord (6.0.3.4) activemodel (= 6.0.3.4) activesupport (= 6.0.3.4) activestorage (6.0.3.4) actionpack (= 6.0.3.4) activejob (= 6.0.3.4) activerecord (= 6.0.3.4) marcel (~> 0.3.1) activesupport (6.0.3.4) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) zeitwerk (~> 2.2, >= 2.2.2) addressable (2.7.0) public_suffix (>= 2.0.2, < 5.0) bindex (0.8.1) bootsnap (1.5.1) msgpack (~> 1.0) builder (3.2.4) byebug (11.1.3) capybara (3.34.0) addressable mini_mime (>= 0.1.3) nokogiri (~> 1.8) rack (>= 1.6.0) rack-test (>= 0.6.3) regexp_parser (~> 1.5) xpath (~> 3.2) childprocess (3.0.0) concurrent-ruby (1.1.7) crass (1.0.6) erubi (1.10.0) ffi (1.14.2-x64-mingw32) globalid (0.4.2) activesupport (>= 4.2.0) i18n (1.8.5) concurrent-ruby (~> 1.0) jbuilder (2.10.1) activesupport (>= 5.0.0) loofah (2.8.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) mail (2.7.1) mini_mime (>= 0.1.1) marcel (0.3.3) mimemagic (~> 0.3.2) method_source (1.0.0) mimemagic (0.3.5) mini_mime (1.0.2) mini_portile2 (2.4.0) minitest (5.14.2) msgpack (1.3.3-x64-mingw32) mysql2 (0.5.3-x64-mingw32) nio4r (2.5.4) nokogiri (1.10.10-x64-mingw32) mini_portile2 (~> 2.4.0) public_suffix (4.0.6) puma (4.3.7) nio4r (~> 2.0) rack (2.2.3) rack-proxy (0.6.5) rack rack-test (1.1.0) rack (>= 1.0, < 3) rails (6.0.3.4) actioncable (= 6.0.3.4) actionmailbox (= 6.0.3.4) actionmailer (= 6.0.3.4) actionpack (= 6.0.3.4) actiontext (= 6.0.3.4) actionview (= 6.0.3.4) activejob (= 6.0.3.4) activemodel (= 6.0.3.4) activerecord (= 6.0.3.4) activestorage (= 6.0.3.4) activesupport (= 6.0.3.4) bundler (>= 1.3.0) railties (= 6.0.3.4) sprockets-rails (>= 2.0.0) rails-dom-testing (2.0.3) activesupport (>= 4.2.0) nokogiri (>= 1.6) rails-html-sanitizer (1.3.0) loofah (~> 2.3) railties (6.0.3.4) actionpack (= 6.0.3.4) activesupport (= 6.0.3.4) method_source rake (>= 0.8.7) thor (>= 0.20.3, < 2.0) rake (13.0.3) regexp_parser (1.8.2) rubyzip (2.3.0) sass-rails (6.0.0) sassc-rails (~> 2.1, >= 2.1.1) sassc (2.4.0-x64-mingw32) ffi (~> 1.9) sassc-rails (2.1.2) railties (>= 4.0.0) sassc (>= 2.0) sprockets (> 3.0) sprockets-rails tilt selenium-webdriver (3.142.7) childprocess (>= 0.5, < 4.0) rubyzip (>= 1.2.2) sprockets (4.0.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.2.2) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) thor (1.0.1) thread_safe (0.3.6) tilt (2.0.10) turbolinks (5.2.1) turbolinks-source (~> 5.2) turbolinks-source (5.2.0) tzinfo (1.2.9) thread_safe (~> 0.1) tzinfo-data (1.2020.5) tzinfo (>= 1.0.0) web-console (4.1.0) actionview (>= 6.0.0) activemodel (>= 6.0.0) bindex (>= 0.4.0) railties (>= 6.0.0) webdrivers (4.4.1) nokogiri (~> 1.6) rubyzip (>= 1.3.0) selenium-webdriver (>= 3.0, < 4.0) webpacker (4.3.0) activesupport (>= 4.2) rack-proxy (>= 0.6.1) railties (>= 4.2) websocket-driver (0.7.3) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) xpath (3.2.0) nokogiri (~> 1.8) zeitwerk (2.4.2) PLATFORMS x64-mingw32 DEPENDENCIES bootsnap (>= 1.4.2) byebug capybara (>= 2.15) jbuilder (~> 2.7) mysql2 (>= 0.4.4) puma (~> 4.1) rails (~> 6.0.3, >= 6.0.3.4) sass-rails (>= 6) selenium-webdriver turbolinks (~> 5) tzinfo-data web-console (>= 3.3.0) webdrivers webpacker (~> 4.0) RUBY VERSION ruby 2.6.6p146 BUNDLED WITH 1.17.2
試したこと
調べているのですが、まったくわかりません:(
補足情報(FW/ツールのバージョンなど)
windows 10 home
ruby 24-64x
ruby 2.6.6
![guest](/img/icon/icnUserSample.jpg)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。