ri > Rails::Server

Rails::Server < Rack::Server

from /home/chedong/.local/share/rdoc

📝 NAME

Rails::Server — a subclass of Rack::Server for starting the Rails application server.

🚀 Quick Reference

Use Case Command Description
🚀 Start the Rails server Rails::Server.new.start Boots the Rails application and starts the web server.
⚙️ Get default server options Rails::Server.new.default_options Returns the default options hash for the server.
🧩 Get middleware stack Rails::Server.new.middleware Returns the middleware stack used by the server.
🔧 Parse command-line options Rails::Server.new.opt_parser Parses command-line options and returns an OptionParser.
🌐 Get served URL Rails::Server.new.served_url Returns the full URL that the server is serving.
🌱 Set Rails environment Rails::Server.new.set_environment Sets the RAILS_ENV based on server options.

⚙️ Class Methods

🔧 Instance Methods

Rails::Server
📝 NAME 🚀 Quick Reference ⚙️ Class Methods 🔧 Instance Methods

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 20:01 @216.73.216.199
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format