Skip to content

Commit 50a2345

Browse files
committed
new current_ruby-version var
1 parent 0a1c70d commit 50a2345

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

_config.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@ social_image_path: /assets/brand/bootstrap-social.png
4949
social_logo_path: /assets/brand/bootstrap-social-logo.png
5050

5151
# Custom variables
52-
current_version: 4.0.0-beta.2
53-
docs_version: 4.0
54-
repo: "https://github.com/twbs/bootstrap"
55-
slack: "https://bootstrap-slack.herokuapp.com"
56-
blog: "https://blog.getbootstrap.com"
57-
expo: "https://expo.getbootstrap.com"
58-
jobs: "https://jobs.getbootstrap.com"
59-
themes: "https://themes.getbootstrap.com"
52+
current_version: 4.0.0-beta.2
53+
current_ruby_version: 4.0.0-beta2
54+
docs_version: 4.0
55+
repo: "https://github.com/twbs/bootstrap"
56+
slack: "https://bootstrap-slack.herokuapp.com"
57+
blog: "https://blog.getbootstrap.com"
58+
expo: "https://expo.getbootstrap.com"
59+
jobs: "https://jobs.getbootstrap.com"
60+
themes: "https://themes.getbootstrap.com"
6061

6162
download:
6263
source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.2.zip"

docs/4.0/getting-started/download.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ Bootstrap's `package.json` contains some additional metadata under the following
6868
Install Bootstrap in your Ruby apps using [Bundler](https://bundler.io/) (**recommended**) and [RubyGems](https://rubygems.org/) by adding the following line to your [`Gemfile`](https://bundler.io/gemfile.html):
6969

7070
{% highlight ruby %}
71-
gem 'bootstrap', '~> {{ site.current_version }}'
71+
gem 'bootstrap', '~> {{ site.current_ruby_version }}'
7272
{% endhighlight %}
7373

7474
Alternatively, if you're not using Bundler, you can install the gem by running this command:
7575

7676
{% highlight sh %}
77-
gem install bootstrap -v {{ site.current_version }}
77+
gem install bootstrap -v {{ site.current_ruby_version }}
7878
{% endhighlight %}
7979

8080
[See the gem's README](https://github.com/twbs/bootstrap-rubygem/blob/master/README.md) for further details.

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h3>Installation</h3>
4141
{% endhighlight %}
4242

4343
{% highlight sh %}
44-
gem install bootstrap -v {{ site.current_version }}
44+
gem install bootstrap -v {{ site.current_ruby_version }}
4545
{% endhighlight %}
4646

4747
<hr class="half-rule">

0 commit comments

Comments
 (0)