Skip to content

Commit

Permalink
Tweaks to provisioning and make file to work in VM as Windows host.
Browse files Browse the repository at this point in the history
Ran into a virtualization error that took a while to debug:
gratipay/gratipay.com#2327
pypa/virtualenv#565
Ultimate solution: http://stackoverflow.com/questions/24640819/protocol-error-setting-up-virtualenvironment-through-vagrant-on-ubuntu
Run console as admin, shared mounts permissions issue.
More evidence of issues on Windows: bash script cannot access vagrant shared mount, even when run as root.
  • Loading branch information
pjfontillas committed Jan 22, 2016
1 parent dd5a6e2 commit 16e2fad
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion provision.sh
Expand Up @@ -27,12 +27,15 @@ sudo rabbitmq-server -detached
echo "cd /vagrant" >> /home/vagrant/.bashrc

# The Frying Dutchman
echo "Prepping the Dutchman..."
cd /vagrant/the_frying_dutchman
make deps
make db
./bin/rake mq:init
#./bin/rake mq:init
rake mq:init

# Homer
echo "Prepping Homer..."
cd /vagrant/homer
make clean
make deps
3 changes: 3 additions & 0 deletions the_frying_dutchman/Gemfile.lock
Expand Up @@ -144,3 +144,6 @@ DEPENDENCIES
sqlite3
twitter-bootstrap-rails
web-console (~> 2.0)

BUNDLED WITH
1.11.2
4 changes: 2 additions & 2 deletions the_frying_dutchman/Makefile
@@ -1,11 +1,11 @@
db:
./bin/rake db:setup
rake db:setup

deps:
bundle install
rails generate bootstrap:install static

start:
./bin/rails server -b 0.0.0.0
rails server -b 0.0.0.0

.PHONY: db

0 comments on commit 16e2fad

Please sign in to comment.