1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

new current_ruby-version var

This commit is contained in:
Mark Otto 2017-10-19 11:26:14 -07:00 committed by Mark Otto
parent 0a1c70d9b9
commit 50a2345032
3 changed files with 12 additions and 11 deletions

View 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"

View 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.

View 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">