Commit 50a23450 authored by Mark Otto's avatar Mark Otto Committed by Mark Otto
Browse files

new current_ruby-version var

parent 0a1c70d9
6 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!25494web pack,!25326Adjust examples,!23207#22402 : modal: new autofocus & keyboardBtnNav options,!17021v4
Showing with 12 additions and 11 deletions
+12 -11
...@@ -49,14 +49,15 @@ social_image_path: /assets/brand/bootstrap-social.png ...@@ -49,14 +49,15 @@ social_image_path: /assets/brand/bootstrap-social.png
social_logo_path: /assets/brand/bootstrap-social-logo.png social_logo_path: /assets/brand/bootstrap-social-logo.png
# Custom variables # Custom variables
current_version: 4.0.0-beta.2 current_version: 4.0.0-beta.2
docs_version: 4.0 current_ruby_version: 4.0.0-beta2
repo: "https://github.com/twbs/bootstrap" docs_version: 4.0
slack: "https://bootstrap-slack.herokuapp.com" repo: "https://github.com/twbs/bootstrap"
blog: "https://blog.getbootstrap.com" slack: "https://bootstrap-slack.herokuapp.com"
expo: "https://expo.getbootstrap.com" blog: "https://blog.getbootstrap.com"
jobs: "https://jobs.getbootstrap.com" expo: "https://expo.getbootstrap.com"
themes: "https://themes.getbootstrap.com" jobs: "https://jobs.getbootstrap.com"
themes: "https://themes.getbootstrap.com"
download: download:
source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.2.zip" source: "https://github.com/twbs/bootstrap/archive/v4.0.0-beta.2.zip"
......
...@@ -68,13 +68,13 @@ Bootstrap's `package.json` contains some additional metadata under the following ...@@ -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): 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 %} {% highlight ruby %}
gem 'bootstrap', '~> {{ site.current_version }}' gem 'bootstrap', '~> {{ site.current_ruby_version }}'
{% endhighlight %} {% endhighlight %}
Alternatively, if you're not using Bundler, you can install the gem by running this command: Alternatively, if you're not using Bundler, you can install the gem by running this command:
{% highlight sh %} {% highlight sh %}
gem install bootstrap -v {{ site.current_version }} gem install bootstrap -v {{ site.current_ruby_version }}
{% endhighlight %} {% endhighlight %}
[See the gem's README](https://github.com/twbs/bootstrap-rubygem/blob/master/README.md) for further details. [See the gem's README](https://github.com/twbs/bootstrap-rubygem/blob/master/README.md) for further details.
......
...@@ -41,7 +41,7 @@ npm install bootstrap@{{ site.current_version }} ...@@ -41,7 +41,7 @@ npm install bootstrap@{{ site.current_version }}
{% endhighlight %} {% endhighlight %}
{% highlight sh %} {% highlight sh %}
gem install bootstrap -v {{ site.current_version }} gem install bootstrap -v {{ site.current_ruby_version }}
{% endhighlight %} {% endhighlight %}
<hr class="half-rule"> <hr class="half-rule">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment