aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-10-19 11:26:14 -0700
committerMark Otto <[email protected]>2017-10-19 12:23:29 -0700
commit50a234503217775998246bbdd066a04b732df292 (patch)
tree0efa18ab35df264756d0b8787d5a1a58fa7ab4c7
parent0a1c70d9b9df097f69d97790e75b236929d1c76c (diff)
downloadbootstrap-50a234503217775998246bbdd066a04b732df292.tar.xz
bootstrap-50a234503217775998246bbdd066a04b732df292.zip
new current_ruby-version var
-rw-r--r--_config.yml17
-rw-r--r--docs/4.0/getting-started/download.md4
-rw-r--r--index.html2
3 files changed, 12 insertions, 11 deletions
diff --git a/_config.yml b/_config.yml
index 01d8dc5a2..792c16bdb 100644
--- a/_config.yml
+++ b/_config.yml
@@ -49,14 +49,15 @@ social_image_path: /assets/brand/bootstrap-social.png
social_logo_path: /assets/brand/bootstrap-social-logo.png
# Custom variables
-current_version: 4.0.0-beta.2
-docs_version: 4.0
-repo: "https://github.com/twbs/bootstrap"
-slack: "https://bootstrap-slack.herokuapp.com"
-blog: "https://blog.getbootstrap.com"
-expo: "https://expo.getbootstrap.com"
-jobs: "https://jobs.getbootstrap.com"
-themes: "https://themes.getbootstrap.com"
+current_version: 4.0.0-beta.2
+current_ruby_version: 4.0.0-beta2
+docs_version: 4.0
+repo: "https://github.com/twbs/bootstrap"
+slack: "https://bootstrap-slack.herokuapp.com"
+blog: "https://blog.getbootstrap.com"
+expo: "https://expo.getbootstrap.com"
+jobs: "https://jobs.getbootstrap.com"
+themes: "https://themes.getbootstrap.com"
download:
source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.2.zip"
diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md
index 0ae4da562..c93d6dc34 100644
--- a/docs/4.0/getting-started/download.md
+++ b/docs/4.0/getting-started/download.md
@@ -68,13 +68,13 @@ Bootstrap's `package.json` contains some additional metadata under the following
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):
{% highlight ruby %}
-gem 'bootstrap', '~> {{ site.current_version }}'
+gem 'bootstrap', '~> {{ site.current_ruby_version }}'
{% endhighlight %}
Alternatively, if you're not using Bundler, you can install the gem by running this command:
{% highlight sh %}
-gem install bootstrap -v {{ site.current_version }}
+gem install bootstrap -v {{ site.current_ruby_version }}
{% endhighlight %}
[See the gem's README](https://github.com/twbs/bootstrap-rubygem/blob/master/README.md) for further details.
diff --git a/index.html b/index.html
index 0410b1839..62fdc71d1 100644
--- a/index.html
+++ b/index.html
@@ -41,7 +41,7 @@ npm install bootstrap@{{ site.current_version }}
{% endhighlight %}
{% highlight sh %}
-gem install bootstrap -v {{ site.current_version }}
+gem install bootstrap -v {{ site.current_ruby_version }}
{% endhighlight %}
<hr class="half-rule">