# Set up Rails courses

Rails courses run in Codex with the Rails plugin. Follow the installation steps
below, then return to the learner's original course request.

## Job Hunt in ChatGPT: private beta or waitlist

Course page: https://getonrails.com/learn/courses/job-hunt-in-chatgpt

For a learner who wants to join, explain the two paths: use their private beta
invite code, or join the waitlist on the course page. Waitlist signup does not
require installing the plugin and does not grant course access. Do not require a
cohort application before installation. Do not promise access or dates.

For an invited learner, install Rails if needed, then use its course skill.
Rails opens browser sign-in (including Google); after sign-in, ask for their
single-use course invite code in chat. The plugin redeems it against that account,
then helps them select a project folder and Start or Resume. Do not ask for login
verification codes, passwords, or payment details. Do not offer Stripe checkout
for any private beta course. The current course listing determines whether its
waitlist is enabled; this guidance does not grant access or override the listing.

### Set up Rails in Codex

This is the installation guide for someone asking Codex to start, continue, or buy a
Rails course from getonrails.com. Rails plugin version: `0.3.13`.

If you are Codex reading this guide, complete the steps below for the learner. The only
learner action during installation is reviewing and approving the Rails hooks in Codex's
native `/hooks` screen. Never choose Trust, approve a hook, or edit a trust file on their
behalf.

1. First check whether the Rails course skill and the `rails-local` `status` tool are
   already available. If they are, stop using this installation guide and follow that
   skill for the learner's original course request.
2. Check that this is macOS and that `codex`, `node`, `python3`, and `expect` are available.
   If anything is missing, explain what is missing and ask before installing software.
3. Download `https://getonrails.com/downloads/rails/rails-plugin.zip` over HTTPS. Verify its SHA-256 is exactly
   `fc8185d7d6b53e01cc59feeafe5da67ca67f45db73eb05cdfc892c99ad0fa69f`. Reject a mismatch. Extract it under the learner's persistent
   `~/.local/share/rails/downloads/0.3.13-fc8185d7d6b5/` directory. Reject ZIP entries
   that escape this directory. Do not overwrite an existing extraction.
4. From an interactive terminal, run `sh <extracted-directory>/setup/install.sh`.
   It registers the local Rails marketplace, installs `rails@rails-download`, and
   opens Codex's native hook review. Pause there. Only the learner may inspect and
   choose whether to trust each Rails hook. If they decline, do not proceed. A successful
   plugin installation and a closed review screen do not prove hook approval. If review
   cannot open automatically, Rails remains installed: finish review using `/hooks`.
   Do not reinstall Rails or describe this as a failed plugin installation.
5. Return to the learner's original course request. Discover the Rails tools again
   and call `status` if available; tools may refresh in the existing chat. Do not
   assume every installation requires a new task. Only if the tools remain unavailable
   after checking again, ask them to start a new Codex task with the same course prompt.
   Once it is visible, stop using this installation guide and follow the Rails course
   skill. The skill owns sign-in, course-name resolution, access or purchase recovery,
   folder binding, and Start or Resume.

The bundle contains the plugin, a local marketplace catalog, and the installer.
It does not include credentials. Plugin dependencies install on first use.
The bundle is served with the current web release, so always fetch this guide
and the ZIP together rather than relying on an older cached copy.
