Переглянути джерело

"thor" and "rackup" should be run through "bundle exec"

Rel: #619.
Thibaut Courouble 8 роки тому
батько
коміт
b6fc76f59e
1 змінених файлів з 4 додано та 2 видалено
  1. 4 2
      README.md

+ 4 - 2
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).