Skip to content

Instantly share code, notes, and snippets.

@sammoore
Last active September 13, 2020 02:39
Show Gist options
  • Save sammoore/df639f569dc731de820a88c11355ca6e to your computer and use it in GitHub Desktop.
Save sammoore/df639f569dc731de820a88c11355ca6e to your computer and use it in GitHub Desktop.
websocket-only-rails.sh
#!/usr/bin/env bash
rails new $1 \
--api \
--skip-bundle \
--skip-action-mailer \
--skip-action-mailbox \
--skip-active-storage \
--skip-active-record
cd $1
bundle install --path vendor/bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment