From 50a234503217775998246bbdd066a04b732df292 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 19 Oct 2017 11:26:14 -0700 Subject: [PATCH] new current_ruby-version var --- _config.yml | 17 +++++++++-------- docs/4.0/getting-started/download.md | 4 ++-- index.html | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/_config.yml b/_config.yml index 01d8dc5a26..792c16bdb8 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 0ae4da562c..c93d6dc34a 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 0410b1839b..62fdc71d14 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 %}