Skip to content

Commit

Permalink
Show correct gem install version
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Oct 26, 2021
1 parent 73717c3 commit 76783e8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

Now all that is left is to install Bridgetown!

```sh
{%- if edge_version %}
```
gem install bridgetown -N -v {{ version }}
```
{%- else %}
```
gem install bridgetown -N
```
{%- endif %}

Create a new Bridgetown site at `./mysite`, as well as run `bundle install` and
`yarn install` automatically:
Expand Down
2 changes: 1 addition & 1 deletion bridgetown-website/src/_docs/installation/fedora.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ yarn -v
```


{% render "docs/install/bridgetown" %}
{% render "docs/install/bridgetown", version: bridgetown.version, edge_version: site.data.edge_version %}
2 changes: 1 addition & 1 deletion bridgetown-website/src/_docs/installation/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ node -v
yarn -v
```

{% render "docs/install/bridgetown" %}
{% render "docs/install/bridgetown", version: bridgetown.version, edge_version: site.data.edge_version %}
3 changes: 1 addition & 2 deletions bridgetown-website/src/_docs/installation/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,4 @@ ruby -v
And that's it! Check out [rbenv command references](https://github.com/rbenv/rbenv#command-reference) to learn how to use different versions of Ruby in your projects.

{% render "docs/install/node_on_linux" %}
{% render "docs/install/bridgetown" %}
{% render "docs/install/concurrently" %}
{% render "docs/install/bridgetown", version: bridgetown.version, edge_version: site.data.edge_version %}
2 changes: 1 addition & 1 deletion bridgetown-website/src/_docs/installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ The easiest way to use Bridgetown on Windows is to install the _Windows Subsyste
Try reading [these excellent instructions by GoRails](https://gorails.com/setup/windows/10) to install Ubuntu Linux on Windows, and then once you've reached the "**Installing Rails**" portion, you can come back and continue:

{% render "docs/install/node_on_linux" %}
{% render "docs/install/bridgetown" %}
{% render "docs/install/bridgetown", version: bridgetown.version, edge_version: site.data.edge_version %}

0 comments on commit 76783e8

Please sign in to comment.