From b6fc76f59e233a7cb12524396e3d4f39388da5c4 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sun, 7 May 2017 18:17:12 -0400 Subject: [PATCH] "thor" and "rackup" should be run through "bundle exec" Rel: #619. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2b3fd6ec..9a49da5f 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ DevDocs requires Ruby 2.4.1, libcurl, and a JavaScript runtime supported by [Exe git clone https://github.com/Thibaut/devdocs.git && cd devdocs gem install bundler bundle install -thor docs:download --default -rackup +bundle exec thor docs:download --default +bundle exec rackup ``` Finally, point your browser at [localhost:9292](http://localhost:9292) (the first request will take a few seconds to compile the assets). You're all set. @@ -130,6 +130,8 @@ thor assets:compile # Compile assets (not required in development mode) thor assets:clean # Clean old assets ``` +If multiple versions of Ruby are installed on your system, commands must be run through `bundle exec`. + ## Contributing Contributions are welcome. Please read the [contributing guidelines](https://github.com/Thibaut/devdocs/blob/master/CONTRIBUTING.md).