Gemfile
Comprehensive Gemfile guide for Ruby bots and web (site/API) applications on Discloud.
🗂️ What is Gemfile?
Gemfile?🛠️ Creating a Gemfile (Quick Start)
Gemfile (Quick Start)1
bundle init2
bundle add sinatra
bundle add puma3
bundle install🧪 Environment Groups
group :development, :test do
gem 'pry'
gem 'rspec'
end
group :production do
# production-only gems (APM, logging backends, etc.)
end🧩 Example Gemfiles
🧾 Sample config.ru (Sinatra / Rack Site)
config.ru (Sinatra / Rack Site)🧪 Updating Dependencies
🧰 Common Commands Reference
Last updated