Failed with Starting service with 'bundle exec puma -C config/puma.rb'

When I tried to start my rails app on Render after building, I encountered the below error:
Could not find nokogiri-1.14.3-x86_64-linux in locally installed gems (Bundler::GemNotFound)

However in the building process, I also got the below message, which means that nokogiri was isntalled successfully:
Successfully installed nokogiri-1.14.3-x86_64-linux

Can anyone suggest possible reasons for the error and how to fix it?

Hi,

Are you installing Nokogiri from your Gemfile? Or directly with gem install?

It should be part of the Gemfile, as it’s Bundler that is raising the error: Bundler::GemNotFound

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.