Skip to content

Commit

Permalink
update note from #39
Browse files Browse the repository at this point in the history
h/t to @airblade, thank you!
  • Loading branch information
flavorjones committed Oct 26, 2021
1 parent a7416d9 commit a16325e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/tutorials/installing_nokogiri.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ Successfully installed nokogiri-1.11.0-x86_64-linux
1 gem installed
```

If you're using Bundler v2.2+, check your lockfile knows about your platform(s): see `man bundle-lock` for details.
If you're using Bundler v2.2+, check that your lockfile knows about your platform(s). For example, if you develop on macOS and deploy to Linux you will need to run these commands in your development environment:

``` sh
bundle lock --add-platform x86_64-linux
bundle install # resolve dependencies for platform-specific gems
```

See `man bundle-lock` for details.


### Why would I not want to use a native gem?
Expand Down

0 comments on commit a16325e

Please sign in to comment.