Skip to content

Commit 7d306c8

Browse files
committed
Merge pull request dsjoerg#20 from nickelsen/vagrant
Run ggtracker in Vagrant
2 parents ae0821a + e58f37f commit 7d306c8

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gem 'rails', '3.2.22'
88

99
gem 'mysql2'
1010

11-
gem 'unicorn', '1.1.5'
11+
gem 'unicorn'
1212

1313
# Gems used only for assets and not required
1414
# in production environments by default.
@@ -145,3 +145,5 @@ gem 'activemerchant'
145145

146146
gem 'rack-attack'
147147
gem 'unf_ext', '0.0.6'
148+
149+
gem 'foreman'

Gemfile.lock

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ GEM
136136
faraday (0.9.0)
137137
multipart-post (>= 1.2, < 3)
138138
ffi (1.9.0)
139+
foreman (0.78.0)
140+
thor (~> 0.19.1)
139141
formtastic (2.2.1)
140142
actionpack (>= 3.0)
141143
gon (4.1.1)
@@ -157,6 +159,7 @@ GEM
157159
json (1.8.3)
158160
juggernaut (2.1.1)
159161
redis
162+
kgio (2.10.0)
160163
listen (1.1.6)
161164
rb-fsevent (>= 0.9.3)
162165
rb-inotify (>= 0.9)
@@ -213,6 +216,7 @@ GEM
213216
rake (>= 0.8.7)
214217
rdoc (~> 3.4)
215218
thor (>= 0.14.6, < 2.0)
219+
raindrops (0.16.0)
216220
rake (10.4.2)
217221
rb-fsevent (0.9.3)
218222
rb-inotify (0.9.2)
@@ -282,8 +286,9 @@ GEM
282286
unf (0.1.4)
283287
unf_ext
284288
unf_ext (0.0.6)
285-
unicorn (1.1.5)
286-
rack
289+
unicorn (5.1.0)
290+
kgio (~> 2.6)
291+
raindrops (~> 0.7)
287292
uuidtools (2.1.4)
288293
vegas (0.1.11)
289294
rack (>= 1.0.0)
@@ -310,6 +315,7 @@ DEPENDENCIES
310315
ey_config
311316
factory_girl_rails (~> 4.0)
312317
faker
318+
foreman
313319
formtastic
314320
gg!
315321
gon
@@ -332,4 +338,7 @@ DEPENDENCIES
332338
simplecov
333339
uglifier (>= 1.0.3)
334340
unf_ext (= 0.0.6)
335-
unicorn (= 1.1.5)
341+
unicorn
342+
343+
BUNDLED WITH
344+
1.11.2

app/views/matches/show.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<% if @match.map_url.present? || @match.map["s2ma_hash"].present? %>
2020
<div class="last map block">
2121
<% if !@match.map_url || @match.map_url.blank? %>
22-
<img class="minimap" height="90" src="http://s3.amazonaws.com/<%= Rails.configuration.s3['minimaps']['bucket'] %>/<%= @match.map["s2ma_hash"] %>_100.png" />
22+
<img class="minimap" height="90" src="http://<%= Rails.configuration.s3['minimaps']['bucket'] %>.s3.amazonaws.com/<%= @match.map["s2ma_hash"] %>_100.png" />
2323
<% else %>
2424
<img src="<%= @match.map_url %>"/>
2525
<% end %>
@@ -62,7 +62,7 @@
6262
<div class="top">
6363
<%= render 'shared/sidebarad' %>
6464

65-
<matchmap data-framee="current_framee" data-minimapurl="http://s3.amazonaws.com/<%= Rails.configuration.s3['minimaps']['bucket'] %>/<%= @match.map["s2ma_hash"] %>_100.png" data-match="match"></matchmap>
65+
<matchmap data-framee="current_framee" data-minimapurl="http://<%= Rails.configuration.s3['minimaps']['bucket'] %>.s3.amazonaws.com/<%= @match.map["s2ma_hash"] %>_100.png" data-match="match"></matchmap>
6666
<a href class="ggtipper2" title="Total army strength in minerals + gas throughout the game.<br><br>Move your mouse over the chart to see what was in each army at any point in the game.<br><br>Click and drag to zoom.<br><br>Click on the chart to freeze that time selection." data-gravity="nw">
6767
<span class="title lefty">army strength, minerals + gas</span>
6868
</a>

0 commit comments

Comments
 (0)