sinatra-setup

Guides beginners through installing Ruby, Bundler, and Sinatra with verification steps.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/rubrical-works/idpf-praxis-skills --skill sinatra-setup-rubrical-works
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sinatra-setup
Source: https://github.com/rubrical-works/idpf-praxis-skills/tree/main/Skills/sinatra-setup
Command: npx skills add https://github.com/rubrical-works/idpf-praxis-skills --skill sinatra-setup-rubrical-works

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up a Ruby Sinatra development environment is confusing for beginners: Ruby installation differs across Windows, macOS, and Linux, Bundler permissions often fail, and it is hard to know whether everything actually works. This Skill walks users through each step with expected outputs and troubleshooting. ## Core Features & Use Cases - Guided environment setup: Step-by-step instructions for verifying Ruby, installing Bundler, creating a Gemfile, and running bundle install. - Config-driven commands: Per-platform install commands, version floors, and verification commands live in a JSON config re-read at every invocation, so version updates are a JSON edit. - Verification and troubleshooting: A verification checklist confirms Ruby, Bundler, and Sinatra are installed, with fixes for common errors like permission denied, missing Gemfile, and old Ruby versions. - Use Case: A student asks "How do I start a Sinatra project?" and receives copy-paste command blocks that install Ruby, Bundler, and Sinatra, then verify the setup with a test app on localhost:4567. ## Quick Start Ask the assistant to set up a Sinatra development environment for a new Ruby web project and follow the guided steps.

Frequently Asked Questions about sinatra-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Sinatra project in Ruby?▼

Verify Ruby 3.0 or higher with ruby --version, install Bundler with gem install bundler, create a Gemfile containing source 'https://rubygems.org' and gem 'sinatra', then run bundle install. Verify with bundle list and a test app run via bundle exec ruby app.rb.

How do I install Ruby on Windows, Mac, and Linux?▼

On Windows, download RubyInstaller from rubyinstaller.org and choose the Ruby+Devkit bundle with 'Add Ruby to PATH' checked. On macOS use brew install ruby, and on Ubuntu/Debian run sudo apt-get update && sudo apt-get install ruby-full.

Why does bundle install fail with permission denied?▼

Permission denied during bundle install usually means gems cannot be written to the system gem directory. Use bundle install --path vendor/bundle to install gems locally in the project, or use sudo gem install bundler for the Bundler installation step on Mac/Linux.

What Ruby version does Sinatra setup require?▼

The setup expects Ruby 3.0 or higher, with 3.2 as the recommended fallback version. Check your version with ruby --version and upgrade via brew on macOS, RubyInstaller on Windows, or rbenv on Linux if it is older.

Why do I get 'Could not locate Gemfile' when running bundle install?▼

This error means you are not in the project directory or the Gemfile does not exist. Navigate to your project folder with cd, confirm the file is named exactly Gemfile with no extension, and create it if missing.