Rails https://rubyonrails.org/ is a web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
Startup companies often find Rails suitable for several reasons:
Sinatra https://sinatrarb.com/ is a DSL for quickly creating web applications in Ruby with minimal effort
You can use Sinatra to build large websites, but it comes with some considerations:
Rails is often preferred for larger applications due to its built-in conventions and tools that help manage complexity.