Skip to content

Commit ac1ffaa

Browse files
committed
Add a tip for macOS usage
1 parent ef26b09 commit ac1ffaa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You need to have Docker installed on your machine. You can find instructions on
1010

1111
## Installation
1212

13-
Go to the [latest release](https://github.com/rails/rails-new/releases/latest) and download the executable for your platform (not the source code). For example, on M1 MacOS this would be `rails-new-aarch64-apple-darwin.tar.gz`. Once the download is complete, unzip the `.tar.gz` file, which will create the `rails-new` executable. Move the executable into your path so that it is ready to run from the command line.
13+
Go to the [latest release](https://github.com/rails/rails-new/releases/latest) and download the executable for your platform (not the source code). For example, on M1 macOS this would be `rails-new-aarch64-apple-darwin.tar.gz`. Once the download is complete, unzip the `.tar.gz` file, which will create the `rails-new` executable. Move the executable into your path so that it is ready to run from the command line.
1414

1515
## Usage
1616

@@ -25,4 +25,10 @@ Or with options:
2525
rails-new myapp --main
2626
```
2727

28+
The first time you attempt to use the executable in macOS you may see a message like this:
29+
30+
> "rails-new" can’t be opened because Apple cannot check it for malicious software
31+
32+
In that case, please go to System Settings → Privacy & Security. You'll see a section mentioning "rails-new" with a button labeled "Allow Anyway" that you have to click.
33+
2834
The list of available options is found in the [Rails guides](https://guides.rubyonrails.org/command_line.html#rails-new).

0 commit comments

Comments
 (0)