Closed st1t closed 2 years ago
# Reproduction method
% docker run --rm -it ruby:3.1 bash root@26efb60843b5:/# gem install vgcal Fetching webrick-1.7.0.gem Fetching thor-1.2.1.gem Fetching retriable-3.1.2.gem Fetching uber-0.1.0.gem Fetching trailblazer-option-0.1.2.gem Fetching declarative-0.0.20.gem Fetching representable-3.1.1.gem Fetching mini_mime-1.1.2.gem Fetching httpclient-2.8.3.gem Fetching multi_json-1.15.0.gem Fetching jwt-2.3.0.gem Fetching multipart-post-2.1.1.gem Fetching faraday-rack-1.0.0.gem Fetching faraday-patron-1.0.0.gem Fetching faraday-net_http-1.0.1.gem Fetching faraday-net_http_persistent-1.2.0.gem Fetching public_suffix-4.0.6.gem Fetching faraday-httpclient-1.0.1.gem Fetching faraday-em_synchrony-1.0.0.gem Fetching faraday-em_http-1.0.0.gem Fetching faraday-1.8.0.gem Fetching addressable-2.8.0.gem Fetching faraday-excon-1.1.0.gem Fetching memoist-0.16.2.gem Fetching signet-0.16.0.gem Fetching os-1.1.4.gem Fetching googleauth-1.1.0.gem Fetching google-apis-core-0.4.1.gem Fetching google-apis-discovery_v1-0.7.0.gem Fetching gems-1.2.0.gem Fetching concurrent-ruby-1.1.9.gem Fetching tzinfo-2.0.4.gem Fetching i18n-1.8.11.gem Fetching activesupport-7.0.0.gem Fetching vgcal-0.3.2.gem Fetching google-apis-generator-0.4.0.gem Fetching google-api-client-0.53.0.gem Fetching dotenv-2.7.6.gem Successfully installed thor-1.2.1 Successfully installed webrick-1.7.0 Successfully installed retriable-3.1.2 Successfully installed uber-0.1.0 Successfully installed trailblazer-option-0.1.2 Successfully installed declarative-0.0.20 Successfully installed representable-3.1.1 Successfully installed mini_mime-1.1.2 Successfully installed httpclient-2.8.3 Successfully installed multi_json-1.15.0 Successfully installed jwt-2.3.0 Successfully installed multipart-post-2.1.1 Successfully installed faraday-rack-1.0.0 Successfully installed faraday-patron-1.0.0 Successfully installed faraday-net_http_persistent-1.2.0 Successfully installed faraday-net_http-1.0.1 Successfully installed faraday-httpclient-1.0.1 Successfully installed faraday-excon-1.1.0 Successfully installed faraday-em_synchrony-1.0.0 Successfully installed faraday-em_http-1.0.0 Successfully installed faraday-1.8.0 Successfully installed public_suffix-4.0.6 Successfully installed addressable-2.8.0 Successfully installed signet-0.16.0 Successfully installed os-1.1.4 Successfully installed memoist-0.16.2 Successfully installed googleauth-1.1.0 Successfully installed google-apis-core-0.4.1 Successfully installed google-apis-discovery_v1-0.7.0 Successfully installed gems-1.2.0 Successfully installed concurrent-ruby-1.1.9 Successfully installed tzinfo-2.0.4 Successfully installed i18n-1.8.11 Successfully installed activesupport-7.0.0 Successfully installed google-apis-generator-0.4.0 ******************************************************************************* The google-api-client gem is deprecated and will likely not be updated further. Instead, please install the gem corresponding to the specific service to use. For example, to use the Google Drive V3 client, install google-apis-drive_v3. For more information, see the FAQ in the OVERVIEW.md file or the YARD docs. ******************************************************************************* Successfully installed google-api-client-0.53.0 Successfully installed dotenv-2.7.6 Successfully installed vgcal-0.3.2 38 gems installed root@26efb60843b5:/# root@26efb60843b5:/# vgcal init /usr/local/lib/ruby/3.1.0/fileutils.rb:1394:in `initialize': No such file or directory @ rb_sysopen - template-credentials.json (Errno::ENOENT) from /usr/local/lib/ruby/3.1.0/fileutils.rb:1394:in `open' from /usr/local/lib/ruby/3.1.0/fileutils.rb:1394:in `copy_file' from /usr/local/lib/ruby/3.1.0/fileutils.rb:504:in `copy_file' from /usr/local/lib/ruby/3.1.0/fileutils.rb:423:in `block in cp' from /usr/local/lib/ruby/3.1.0/fileutils.rb:1577:in `block in fu_each_src_dest' from /usr/local/lib/ruby/3.1.0/fileutils.rb:1593:in `fu_each_src_dest0' from /usr/local/lib/ruby/3.1.0/fileutils.rb:1575:in `fu_each_src_dest' from /usr/local/lib/ruby/3.1.0/fileutils.rb:422:in `cp' from /usr/local/bundle/gems/vgcal-0.3.2/lib/vgcal/handlers/describer.rb:19:in `init' from /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run' from /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command' from /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch' from /usr/local/bundle/gems/thor-1.2.1/lib/thor/base.rb:485:in `start' from /usr/local/bundle/gems/vgcal-0.3.2/lib/vgcal/handlers/describer.rb:168:in `<top (required)>' from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/local/bundle/gems/vgcal-0.3.2/lib/vgcal.rb:8:in `<module:Vgcal>' from /usr/local/bundle/gems/vgcal-0.3.2/lib/vgcal.rb:6:in `<top (required)>' from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/local/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/local/bundle/gems/vgcal-0.3.2/exe/vgcal:3:in `<top (required)>' from /usr/local/bundle/bin/vgcal:25:in `load' from /usr/local/bundle/bin/vgcal:25:in `<main>' root@26efb60843b5:/#
# Reproduction method