I found a article online that explains how to connect vagrant to heroku, so I would be able to deploy my applications online. I got to step 4 in the article, but I got an error when I tired to install foreman (gem install foreman). How can I get it to install. Does any one used vagrant and heroku before and can they explain how they got it to work. The picture of the error is at the bottom and here is a link of the article: https://www.udacity.com/wiki/ud330/deploy.
Asked
Active
Viewed 147 times
1 Answers
0
There is a permission issue with the path /usr/local/lib/python2.7/dist-packages/gunicorn
You can try one of the following
1) Use chmod
to grant write permission to the location /usr/local/lib/python2.7/dist-packages
or
2) Rerun your command with sudo

Anthony Kong
- 37,791
- 46
- 172
- 304
-
thanks but when i fix the problem I got to another one. Each time I type in python app.py. bash: command substitution: line 1: syntax error near unexpected token `)' bash: command substitution: line 1: `__git_ps1)' – Alex Nov 11 '15 at 21:03
-
It is important to keep a question on a single issue. If my answer has helped to resolve this question, please accept. Then open a new question for the bash exception with full stacktrace and other relevant info. – Anthony Kong Nov 11 '15 at 23:08
-
Cool. Remember to click on the 'tick' icon to accept the answer. – Anthony Kong Nov 12 '15 at 03:56