[memo] asdf から mise に名称移行してからかなり時間が経つのだけれど 暫くぶりの gem update でERROR: While executing gem ... (Errno::ENOENT) がでた

asdf から mise に名称移行してからかなり時間が経つのだけれど 暫くぶりの gem update でERROR:  While executing gem ... (Errno::ENOENT) がでた


エラーがでた gem を個別に update する事で解消

ERROR:  While executing gem ... (Errno::ENOENT) は1年ぶりくらいに見たよ

asdf --> mise に名称が変わってからそこそこ時間が経ってるけどなぁ

zunermuka in ~ via 🤖  took 5s

❯ gem update 

Updating installed gems

Updating rbs

Fetching rbs-3.5.2.gem

Building native extensions. This could take a while...

ERROR:  While executing gem ... (Errno::ENOENT)

    No such file or directory - asdf <-- 最初ここを見過ごして少し悩んだ

/Users/zunermuka/.local/share/mise/plugins/ruby/rubygems-plugin/rubygems_plugin.rb:15:in ``'

/Users/zunermuka/.local/share/mise/plugins/ruby/rubygems-plugin/rubygems_plugin.rb:15:in `block (2 levels) in <top (required)>'

/Users/zunermuka/.local/share/mise/plugins/ruby/rubygems-plugin/rubygems_plugin.rb:14:in `each'

/Users/zunermuka/.local/share/mise/plugins/ruby/rubygems-plugin/rubygems_plugin.rb:14:in `block in <top (required)>'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:383:in `block in run_post_install_hooks'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:382:in `each'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:382:in `run_post_install_hooks'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:351:in `install'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/resolver/specification.rb:105:in `install'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/request_set.rb:195:in `block in install'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/request_set.rb:183:in `each'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/request_set.rb:183:in `install'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/dependency_installer.rb:250:in `install'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/commands/update_command.rb:248:in `update_gem'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/commands/update_command.rb:260:in `block in update_gems'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/commands/update_command.rb:259:in `each'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/commands/update_command.rb:259:in `update_gems'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/commands/update_command.rb:120:in `execute'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/command.rb:326:in `invoke_with_build_args'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/command_manager.rb:255:in `invoke_command'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/command_manager.rb:194:in `process_args'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/command_manager.rb:152:in `run'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/site_ruby/3.3.0/rubygems/gem_runner.rb:56:in `run'

/Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/bin/gem:12:in `<main>'


zunermuka in ~ via 🤖

❯ gem environment

RubyGems Environment:

  - RUBYGEMS VERSION: 3.5.11

  - RUBY VERSION: 3.3.2 (2024-05-30 patchlevel 78) [arm64-darwin23]

  - INSTALLATION DIRECTORY: /Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/gems/3.3.0

  - USER INSTALLATION DIRECTORY: /Users/zunermuka/.gem/ruby/3.3.0

  - RUBY EXECUTABLE: /Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/bin/ruby

  - GIT EXECUTABLE: /opt/homebrew/bin/git

  - EXECUTABLE DIRECTORY: /Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/bin

  - SPEC CACHE DIRECTORY: /Users/zunermuka/.gem/specs

  - SYSTEM CONFIGURATION DIRECTORY: /Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/etc

  - RUBYGEMS PLATFORMS:

     - ruby

     - arm64-darwin-23

  - GEM PATHS:

     - /Users/zunermuka/.local/share/mise/installs/ruby/3.3.2/lib/ruby/gems/3.3.0

     - /Users/zunermuka/.gem/ruby/3.3.0

  - GEM CONFIGURATION:

     - :update_sources => true

     - :verbose => true

     - :backtrace => true

     - :bulk_threshold => 1000

コメント

このブログの人気の投稿

[memo] LibreOffice バージョン: 5.2.6.2 Calc でエラーがでた BASIC を読み込む際の エラー:一般的なエラー.一般的な I/O エラー。

[memo] 新しい iCloud利用条件、同意してもエラーが出て繰り返し表示される。macOS Sonoma 14.1(解決済)

[memo] [fig restart]Fig Graphics and Media was using over 49GB or memory on M2 MacOS 14.3.1 Sonoma