@@ -241,7 +241,7 @@ Edit the `Procfile` and choose one of the suggested versions for production |
||
241 | 241 |
|
242 | 242 |
Export the init scripts: |
243 | 243 |
|
244 |
- sudo rake production:export |
|
244 |
+ sudo bundle exec rake production:export |
|
245 | 245 |
|
246 | 246 |
**Note:** You have to re-export the init script every time you change the configuration in `.env` or your `Procfile`! |
247 | 247 |
|
@@ -252,7 +252,7 @@ Export the init scripts: |
||
252 | 252 |
|
253 | 253 |
### Ensure Your Huginn Instance Is Running |
254 | 254 |
|
255 |
- sudo rake production:status |
|
255 |
+ sudo bundle exec rake production:status |
|
256 | 256 |
|
257 | 257 |
## 7. Nginx |
258 | 258 |
|
@@ -305,7 +305,7 @@ Visit YOUR_SERVER in your web browser for your first Huginn login. The setup has |
||
305 | 305 |
|
306 | 306 |
**Enjoy!** :sparkles: :star: :fireworks: |
307 | 307 |
|
308 |
-You can use `cd /home/huginn/huginn && sudo rake production:start` and `cd /home/huginn/huginn && sudo rake production:stop` to start and stop Huginn. |
|
308 |
+You can use `cd /home/huginn/huginn && sudo bundle exec rake production:start` and `cd /home/huginn/huginn && sudo bundle exec rake production:stop` to start and stop Huginn. |
|
309 | 309 |
|
310 | 310 |
Be sure to read the section about how to [update](./update.md) your Huginn installation as well! You can also use [Capistrano](./capistrano.md) to keep your installation up to date. |
311 | 311 |
|
@@ -330,7 +330,7 @@ Restart Nginx, export the init script and restart Huginn: |
||
330 | 330 |
``` |
331 | 331 |
cd /home/huginn/huginn |
332 | 332 |
sudo service nginx restart |
333 |
-sudo rake production:export |
|
333 |
+sudo bundle exec rake production:export |
|
334 | 334 |
``` |
335 | 335 |
|
336 | 336 |
Using a self-signed certificate is discouraged, but if you must use it follow the normal directions. Then generate the certificate: |
@@ -349,7 +349,7 @@ If something went wrong during the installation please make sure you followed th |
||
349 | 349 |
When your Huginn instance still is not working first run the self check: |
350 | 350 |
|
351 | 351 |
cd /home/huginn/huginn |
352 |
- sudo rake production:check |
|
352 |
+ sudo bundle exec rake production:check |
|
353 | 353 |
|
354 | 354 |
We are sorry when you are still having issues, now please check the various log files for error messages: |
355 | 355 |
|
@@ -396,4 +396,4 @@ When you want to monitor the background processes you can easily watch all the f |
||
396 | 396 |
|
397 | 397 |
### Still having problems? :crying_cat_face: |
398 | 398 |
|
399 |
-You probably found an error message or exception backtrace you could not resolve. Please create a new [issue](https://github.com/cantino/huginn/issues) and include as much information as you could gather about the problem your are experiencing. |
|
399 |
+You probably found an error message or exception backtrace you could not resolve. Please create a new [issue](https://github.com/cantino/huginn/issues) and include as much information as you could gather about the problem your are experiencing. |
@@ -6,13 +6,13 @@ You can also use [Capistrano](./capistrano.md) to keep your installation up to d |
||
6 | 6 |
|
7 | 7 |
``` |
8 | 8 |
cd /home/huginn/huginn |
9 |
-sudo rake production:check |
|
9 |
+sudo bundle exec rake production:check |
|
10 | 10 |
``` |
11 | 11 |
|
12 | 12 |
### 1. Stop server |
13 | 13 |
|
14 | 14 |
``` |
15 |
-sudo rake production:stop |
|
15 |
+sudo bundle exec rake production:stop |
|
16 | 16 |
``` |
17 | 17 |
|
18 | 18 |
### 2. Store the current version |
@@ -87,6 +87,6 @@ sudo -u huginn -H editor .env |
||
87 | 87 |
|
88 | 88 |
``` |
89 | 89 |
# Export the init script |
90 |
-sudo rake production:export |
|
90 |
+sudo bundle exec rake production:export |
|
91 | 91 |
``` |
92 | 92 |
|