Merge pull request #2667 from paychex/master

Fix issues building documentation behind corporate filewall on Windows.
This commit is contained in:
Paul Hinze 2015-07-09 10:07:15 -06:00
commit aacfb4276d
3 changed files with 36 additions and 33 deletions

View File

@ -1,3 +1,3 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "middleman-hashicorp", github: "hashicorp/middleman-hashicorp" gem "middleman-hashicorp", git: "https://github.com/hashicorp/middleman-hashicorp"

View File

@ -1,5 +1,5 @@
GIT GIT
remote: git://github.com/hashicorp/middleman-hashicorp.git remote: https://github.com/hashicorp/middleman-hashicorp
revision: 7796ba44d303ac8e1b566e855e2766e6d0f695fc revision: 7796ba44d303ac8e1b566e855e2766e6d0f695fc
specs: specs:
middleman-hashicorp (0.1.0) middleman-hashicorp (0.1.0)
@ -20,18 +20,18 @@ GIT
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
activesupport (4.1.10) activesupport (4.1.12)
i18n (~> 0.6, >= 0.6.9) i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.1) thread_safe (~> 0.1)
tzinfo (~> 1.1) tzinfo (~> 1.1)
autoprefixer-rails (5.1.11) autoprefixer-rails (5.2.1)
execjs execjs
json json
bootstrap-sass (3.3.4.1) bootstrap-sass (3.3.5.1)
autoprefixer-rails (>= 5.0.0.1) autoprefixer-rails (>= 5.0.0.1)
sass (>= 3.2.19) sass (>= 3.3.0)
builder (3.2.2) builder (3.2.2)
celluloid (0.16.0) celluloid (0.16.0)
timers (~> 4.0.0) timers (~> 4.0.0)
@ -53,29 +53,30 @@ GEM
sass (>= 3.3.0, < 3.5) sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5) compass-import-once (1.0.5)
sass (>= 3.2, < 3.5) sass (>= 3.2, < 3.5)
daemons (1.2.2) daemons (1.2.3)
em-websocket (0.5.1) em-websocket (0.5.1)
eventmachine (>= 0.12.9) eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0) http_parser.rb (~> 0.6.0)
erubis (2.7.0) erubis (2.7.0)
eventmachine (1.0.7) eventmachine (1.0.7)
execjs (2.5.2) execjs (2.5.2)
ffi (1.9.8) ffi (1.9.10)
git-version-bump (0.15.1)
haml (4.0.6) haml (4.0.6)
tilt tilt
hike (1.2.3) hike (1.2.3)
hitimes (1.2.2) hitimes (1.2.2)
hooks (0.4.0) hooks (0.4.0)
uber (~> 0.0.4) uber (~> 0.0.4)
htmlcompressor (0.1.2) htmlcompressor (0.2.0)
http_parser.rb (0.6.0) http_parser.rb (0.6.0)
i18n (0.7.0) i18n (0.7.0)
json (1.8.2) json (1.8.3)
kramdown (1.7.0) kramdown (1.7.0)
less (2.6.0) less (2.6.0)
commonjs (~> 0.2.7) commonjs (~> 0.2.7)
libv8 (3.16.14.7) libv8 (3.16.14.11)
listen (2.10.0) listen (2.10.1)
celluloid (~> 0.16.0) celluloid (~> 0.16.0)
rb-fsevent (>= 0.9.3) rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9) rb-inotify (>= 0.9)
@ -106,8 +107,8 @@ GEM
em-websocket (~> 0.5.1) em-websocket (~> 0.5.1)
middleman-core (>= 3.3) middleman-core (>= 3.3)
rack-livereload (~> 0.3.15) rack-livereload (~> 0.3.15)
middleman-minify-html (3.4.0) middleman-minify-html (3.4.1)
htmlcompressor (~> 0.1.0) htmlcompressor (~> 0.2.0)
middleman-core (>= 3.2) middleman-core (>= 3.2)
middleman-sprockets (3.4.2) middleman-sprockets (3.4.2)
middleman-core (>= 3.3) middleman-core (>= 3.3)
@ -117,31 +118,32 @@ GEM
middleman-syntax (2.0.0) middleman-syntax (2.0.0)
middleman-core (~> 3.2) middleman-core (~> 3.2)
rouge (~> 1.0) rouge (~> 1.0)
minitest (5.6.1) minitest (5.7.0)
multi_json (1.11.0) multi_json (1.11.1)
padrino-helpers (0.12.5) padrino-helpers (0.12.5)
i18n (~> 0.6, >= 0.6.7) i18n (~> 0.6, >= 0.6.7)
padrino-support (= 0.12.5) padrino-support (= 0.12.5)
tilt (~> 1.4.1) tilt (~> 1.4.1)
padrino-support (0.12.5) padrino-support (0.12.5)
activesupport (>= 3.1) activesupport (>= 3.1)
rack (1.6.1) rack (1.6.4)
rack-contrib (1.2.0) rack-contrib (1.3.0)
rack (>= 0.9.1) git-version-bump (~> 0.15)
rack (~> 1.4)
rack-livereload (0.3.15) rack-livereload (0.3.15)
rack rack
rack-rewrite (1.5.1) rack-rewrite (1.5.1)
rack-ssl-enforcer (0.2.8) rack-ssl-enforcer (0.2.8)
rack-test (0.6.3) rack-test (0.6.3)
rack (>= 1.0) rack (>= 1.0)
rb-fsevent (0.9.4) rb-fsevent (0.9.5)
rb-inotify (0.9.5) rb-inotify (0.9.5)
ffi (>= 0.5.0) ffi (>= 0.5.0)
redcarpet (3.2.3) redcarpet (3.3.2)
ref (1.0.5) ref (1.0.5)
rouge (1.8.0) rouge (1.9.0)
sass (3.4.13) sass (3.4.15)
sprockets (2.12.3) sprockets (2.12.4)
hike (~> 1.2) hike (~> 1.2)
multi_json (~> 1.0) multi_json (~> 1.0)
rack (~> 1.0) rack (~> 1.0)
@ -175,3 +177,6 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
middleman-hashicorp! middleman-hashicorp!
BUNDLED WITH
1.10.5

16
website/Vagrantfile vendored
View File

@ -9,6 +9,8 @@ sudo apt-get -y update
# RVM/Ruby # RVM/Ruby
sudo apt-get -y install curl sudo apt-get -y install curl
# manually install GPG key in a proxy-friendly way
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -sSL https://get.rvm.io | bash -s stable curl -sSL https://get.rvm.io | bash -s stable
. ~/.bashrc . ~/.bashrc
. ~/.bash_profile . ~/.bash_profile
@ -17,17 +19,12 @@ rvm --default use 2.0.0
# Middleman deps # Middleman deps
cd /vagrant cd /vagrant
gem install bundle
sudo apt-get install -y git-core
bundle bundle
# JS stuff # Run the middleman server
sudo apt-get install -y python-software-properties bundle exec middleman server &
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update -y
sudo apt-get install -y nodejs
# Get JS deps
cd /vagrant/source
npm install
SCRIPT SCRIPT
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
@ -35,4 +32,5 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network "private_network", ip: "33.33.30.10" config.vm.network "private_network", ip: "33.33.30.10"
config.vm.provision "shell", inline: $script, privileged: false config.vm.provision "shell", inline: $script, privileged: false
config.vm.synced_folder ".", "/vagrant", type: "rsync" config.vm.synced_folder ".", "/vagrant", type: "rsync"
config.vm.network "forwarded_port", guest: 4567, host: 4567
end end