Agent skill
ruby-bundle-setup
Ruby environment setup and update workflow using rbenv and Bundler. Use when user asks to update Ruby environment, update rbenv, install Ruby version, run bundle install, update Gemfile.lock, or set up Jekyll/Ruby project dependencies. (user)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/devops/ruby-bundle-setup-friend1ws-friend1ws-github-io
SKILL.md
Ruby Bundle Setup
rbenv and Bundler を使用した Ruby 環境のセットアップと更新ワークフロー。
Initial Setup (初回インストール)
rbenv のインストール
# Homebrew でインストール
brew install rbenv ruby-build
zshrc の設定
~/.zshrc に以下を追加:
# rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init - zsh)"
設定を反映:
source ~/.zshrc
インストール確認
rbenv -v
which rbenv
Update Workflow (更新)
Step 1: rbenv の更新
# rbenv 本体の更新 (Homebrew)
brew upgrade rbenv ruby-build
Step 2: Ruby バージョンの確認とインストール
# 利用可能な Ruby バージョン一覧
rbenv install -l
# 特定バージョンのインストール
rbenv install <version>
# グローバル設定
rbenv global <version>
# プロジェクトローカル設定
rbenv local <version>
# rehash (新しいバージョンを認識させる)
rbenv rehash
Step 3: Bundler のセットアップ
# Bundler のインストール/更新
gem install bundler
# バージョン確認
bundle -v
Step 4: bundle install と Gemfile.lock の更新
# 依存関係のインストール
bundle install
# Gemfile.lock の更新 (全てのgemを最新に)
bundle update
# 特定のgemのみ更新
bundle update <gem-name>
Quick Reference
初回インストール:
brew install rbenv ruby-build
# ~/.zshrc に追加: eval "$(rbenv init - zsh)"
source ~/.zshrc
rbenv/ruby-build の更新:
brew upgrade rbenv ruby-build
日常の更新:
bundle update && bundle install
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?