rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.88k stars 1.99k forks source link

Running Github Page Locally #7617

Closed MShirazAhmad closed 4 years ago

MShirazAhmad commented 4 years ago

Error Report

Questions

Please fill out answers to these questions, it'll help us figure out why things are going wrong.

Backtrace

ArgumentError: unknown encoding name - CP720
  C:/Ruby27-x64/lib/ruby/2.7.0/win32/registry.rb:72:in `find'
  C:/Ruby27-x64/lib/ruby/2.7.0/win32/registry.rb:72:in `<module:Win32>'
  C:/Ruby27-x64/lib/ruby/2.7.0/win32/registry.rb:4:in `<top (required)>'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/win32/resolv.rb:7:in `<top (required)>'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/resolv.rb:171:in `<class:Hosts>'
  C:/Ruby27-x64/lib/ruby/2.7.0/resolv.rb:168:in `<class:Resolv>'
  C:/Ruby27-x64/lib/ruby/2.7.0/resolv.rb:38:in `<top (required)>'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/remote_fetcher.rb:9:in `<top (required)>'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/fetcher/index.rb:4:in `<top (required)>'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/fetcher.rb:221:in `<class:Fetcher>'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/fetcher.rb:11:in `<module:Bundler>'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/fetcher.rb:9:in `<top (required)>'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/cli/install.rb:53:in `run'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/cli.rb:256:in `block in install'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/settings.rb:124:in `temporary'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/cli.rb:255:in `install'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/cli.rb:30:in `dispatch'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/cli.rb:24:in `start'
  C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bundler-2.1.2/libexec/bundle:46:in `block in <top (required)>'
  C:/Ruby27-x64/lib/ruby/2.7.0/bundler/friendly_errors.rb:123:in `with_friendly_errors'
  C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bundler-2.1.2/libexec/bundle:34:in `<top (required)>'
  C:/Ruby27-x64/bin/bundle:23:in `load'
  C:/Ruby27-x64/bin/bundle:23:in `<main>'

Environment

Bundler       2.1.2
  Platforms   ruby, x64-mingw32
Ruby          2.7.0p0 (2019-12-25 revision 647ee6f091eafcce70ffb75ddf7e121e192ab217) [x64-mingw32]
  Full Path   C:/Ruby27-x64/bin/ruby.exe
  Config Dir  C:/ProgramData
RubyGems      3.1.2
  Gem Home    C:/Ruby27-x64/lib/ruby/gems/2.7.0
  Gem Path    C:/Users/M. Shiraz Ahmad/.gem/ruby/2.7.0;C:/Ruby27-x64/lib/ruby/gems/2.7.0
  User Home   C:/Users/M. Shiraz Ahmad
  User Path   C:/Users/M. Shiraz Ahmad/.gem/ruby/2.7.0
  Bin Dir     C:/Ruby27-x64/bin
OpenSSL
  Compiled    OpenSSL 1.1.1d  10 Sep 2019
  Loaded      OpenSSL 1.1.1d  10 Sep 2019
  Cert File   C:/Ruby27-x64/ssl/cert.pem
  Cert Dir    C:/Ruby27-x64/ssl/certs
Tools
  Git         2.22.0.windows.1
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2020-01-31
Git SHA           unknown
Released Version  false

Gemfile

Gemfile

source "https://rubygems.org"

# use local theme gem for testing
gem "minimal-mistakes-jekyll", path: "../"
group :jekyll_plugins do
  gem 'jekyll-algolia', '~> 1.0'
end

gem "wdm", "~> 0.1.0" if Gem.win_platform?

Gemfile.lock

<No C:/Users/M. Shiraz Ahmad/Documents/github/minimalmistakes/Gemfile.lock found>