Skip to content

Commit 7526e8a

Browse files
committed
Add .ruby-version for rvm and rbenv
1 parent 09fc4e5 commit 7526e8a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.2

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
language: ruby
2-
rvm:
3-
- "2.2.2"
42

53
## Save bundler deps.
64
cache: bundler
@@ -16,7 +14,7 @@ script:
1614
env:
1715
global:
1816
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
19-
17+
2018
# Whitelist all branches
2119
branches:
2220
only:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ permalink: /en/2016/01/01/short-title
4242

4343
This website is based on [Jekyll](https://jekyllrb.com/). To build
4444
locally, [install Ruby 2.2.2](https://gorails.com/setup) using system
45-
packages, [rvm](https://rvm.io), or another method. Then clone this
46-
repository and change directory into it:
45+
packages, [rvm](https://rvm.io), [rbenv](https://github.com/rbenv/rbenv), or another method.
46+
Then clone this repository and change directory into it:
4747

4848
git clone https://github.com/bitcoin-core/bitcoincore.org.git
4949
cd bitcoincore.org
@@ -55,7 +55,7 @@ need to run `gem` as the superuser by putting "sudo" followed by a space
5555
before the `gem` command. You shouldn't need to use `sudo` with the
5656
`bundle` command.
5757

58-
gem install bundle
58+
gem install bundler -v '~>1'
5959
bundle install
6060

6161
To preview the site (this will launch a tiny webserver on port 4000):
@@ -91,7 +91,7 @@ current documentation may describe features not available in the old
9191
version of the theme used by the website.
9292

9393
[minimal mistakes theme]: https://mmistakes.github.io/minimal-mistakes/
94-
[mm docs]: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
94+
[mm docs]: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
9595
[mm config]: https://mmistakes.github.io/minimal-mistakes/docs/configuration/
9696
[mm content]: https://mmistakes.github.io/minimal-mistakes/docs/posts/
9797
[mm js]: https://mmistakes.github.io/minimal-mistakes/docs/javascript/

0 commit comments

Comments
 (0)