Skip to content

Commit

Permalink
Add minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kartiki975 committed Jan 26, 2024
1 parent c1f65c4 commit 5550402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ In the future we'd like to provide it fully packaged inside a Docker container,

Shipit provides you with a Rails template. To bootstrap your Shipit installation:

1. If you don't have Rails installed, run this command: `gem install rails -v 7.1.1`
2. Run this command: `rails _7.0_ new shipit --skip-action-cable --skip-turbolinks --skip-action-mailer --skip-active-storage --skip-webpack-install --skip-action-mailbox --skip-action-text -m https://raw.githubusercontent.com/Shopify/shipit-engine/main/template.rb`
1. If you don't have Rails installed, run this command: `gem install rails -v 7.1`
2. Run this command: `rails _7.1_ new shipit --skip-action-cable --skip-turbolinks --skip-action-mailer --skip-active-storage --skip-webpack-install --skip-action-mailbox --skip-action-text -m https://raw.githubusercontent.com/Shopify/shipit-engine/main/template.rb`

## Creating the GitHub App

Expand Down
4 changes: 2 additions & 2 deletions template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7')
raise Thor::Error, "You need at least Ruby 2.7 to install shipit"
end
if Gem::Version.new(Rails::VERSION::STRING) < Gem::Version.new('7.1.1')
raise Thor::Error, "You need Rails 7.1.1 to install shipit"
if Gem::Version.new(Rails::VERSION::STRING) < Gem::Version.new('7.1')
raise Thor::Error, "You need Rails 7.1 to install shipit"
end

route %(mount Shipit::Engine, at: '/')
Expand Down

0 comments on commit 5550402

Please sign in to comment.