Ruby app crashing because of missing (bundle ran)
Recently we added some google API gems to our Ruby app and we have seen front-end and back-end services crashing.
+ bundle exec sidekiq
/usr/local/rvm/gems/ruby-3.1.2/gems/bundler-2.3.4/lib/bundler/definition.rb:489:in `materialize': Could not find google-protobuf-3.21.9, grpc-1.50.0 in any of the sources (Bundler::GemNotFound)
While this gem was installed during build-phase. Seems like the native platform for build image and runtime image is different?
Had to hot-fix this by adding another bundle install to the run time.
https://railway.app/project/76e242e9-db08-4279-a677-6c0063fdb9ce/service/e5852326-cf78-4686-b1bf-bd7534119d29
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
1 Reply
Project ID:
76e242e9-db08-4279-a677-6c0063fdb9ce,e5852326-cf78-4686-b1bf-bd7534119d29