I’m encountering a build error while deploying my application on Render. The log shows the following message:
bin/rails aborted!
*****
==> Build failed 😞
I’ve added more details.
info
Fetching hotwire_combobox 0.4.0
info
Installing hotwire_combobox 0.4.0
info
Bundle complete! 55 Gemfile dependencies, 124 gems now installed.
info
Gems in the groups 'development' and 'test' were not installed.
info
Bundled gems are installed into `/opt/render/project/.gems`
info
Post-install message from tailwindcss-rails:
info
== Upgrading to Tailwind CSS v4 ==
info
info
If you are upgrading to tailwindcss-rails 4.x, please read the upgrade guide at:
info
info
https://github.com/rails/tailwindcss-rails/blob/main/README.md#upgrading-your-application-from-tailwind-v3-to-v4
info
info
If you're not ready to upgrade yet, please pin to version 3 in your Gemfile:
info
info
gem "tailwindcss-rails", "~> 3.3.1"
info
info
Precompiling assets...
info
bin/rails aborted!
info
Unknown version "7.2"
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/application/configuration.rb:333:in 'Rails::Application::Configuration#load_defaults'
info
/opt/render/project/src/config/application.rb:12:in '<class:Application>'
info
/opt/render/project/src/config/application.rb:10:in '<module:May>'
info
/opt/render/project/src/config/application.rb:9:in '<main>'
info
/opt/render/project/src/Rakefile:4:in 'Kernel#require_relative'
info
/opt/render/project/src/Rakefile:4:in '<main>'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/commands/rake/rake_command.rb:43:in 'block in Rails::Command::RakeCommand.with_rake'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/commands/rake/rake_command.rb:41:in 'Rails::Command::RakeCommand.with_rake'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/commands/rake/rake_command.rb:20:in 'Rails::Command::RakeCommand.perform'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/command.rb:156:in 'Rails::Command.invoke_rake'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/command.rb:73:in 'block in Rails::Command.invoke'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/command.rb:149:in 'Rails::Command.with_argv'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/command.rb:69:in 'Rails::Command.invoke'
info
/opt/render/project/.gems/ruby/3.4.0/gems/railties-7.1.5.1/lib/rails/commands.rb:18:in '<main>'
info
/opt/render/project/.gems/ruby/3.4.0/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in 'Kernel#require'
info
./bin/rails:4:in '<main>'
debug
(See full trace by running task with --trace)
info
==> Build failed 😞
info
==> Common ways to troubleshoot your deploy: https://render.com/docs/troubleshooting-deploys
This is my current bin/rails
configuration:
#!/usr/bin/env ruby
APP_PATH = File.expand_path("../config/application", __dir__)
require_relative "../config/boot"
require "rails/commands"
I would appreciate any guidance on how to resolve this issue. Has anyone faced a similar error when deploying on Render?