flyctl
flyctl copied to clipboard
Error: failed to fetch an image or build from source: error building: failed to solve: process
I ran fly deploy for the first time in two weeks and encountered the following error:
...
43.90 Run `bundle fund` for details
44.70 bundler: failed to load command: bootsnap (/usr/local/bundle/ruby/3.4.0/bin/bootsnap)
44.70 /usr/local/lib/ruby/3.4.0/bundler/definition.rb:676:in 'Bundler::Definition#materialize': Could not find net-smtp-0.5.0 in locally installed gems (Bundler::GemNotFound)
44.70 from /usr/local/lib/ruby/3.4.0/bundler/definition.rb:232:in 'Bundler::Definition#specs'
44.70 from /usr/local/lib/ruby/3.4.0/bundler/definition.rb:299:in 'Bundler::Definition#specs_for'
...
44.70 from /usr/local/bin/bundle:25:in '<main>'
------
Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c bundle install && rm -rf ~/.bundle/ \"${BUNDLE_PATH}\"/ruby/*/cache \"${BUNDLE_PATH}\"/ruby/*/bundler/gems/*/.git && bundle exec bootsnap precompile --gemfile" did not complete successfully: exit code: 1
Could you help me understand the cause and possible solutions?
I am using Windows 11.
The output of fly version is as follows:
fly.exe v0.3.77 windows/amd64 Commit: xxxxxxxxxxxxxxx BuildDate: xxxxxxxxxxxxxxx