]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
new current_ruby-version var
authorMark Otto <markdotto@gmail.com>
Thu, 19 Oct 2017 18:26:14 +0000 (11:26 -0700)
committerMark Otto <markd.otto@gmail.com>
Thu, 19 Oct 2017 19:23:29 +0000 (12:23 -0700)
_config.yml
docs/4.0/getting-started/download.md
index.html

index 01d8dc5a26d188c61510e2572030da8bf49c8717..792c16bdb80ef99bd3737c2717c8ec9e7d31105a 100644 (file)
@@ -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"
index 0ae4da562c81b178235d071d4739ccd22d732018..c93d6dc34ab9c9446af68708d676141b748f30eb 100644 (file)
@@ -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.
index 0410b1839b0a33cc0272acdeff6156ea2b4ef338..62fdc71d148f1d09de3bd32f729beb3c9fb6c485 100644 (file)
@@ -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">