Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Feb 18, 2011
1 parent e19e094 commit 7e4e453
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 87 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ group :test do
end end


group :example do group :example do
gem 'activerecord', '3.0.4'
gem 'mysql2'

gem 'rainbows' gem 'rainbows'
gem 'yajl-ruby', :require => 'yajl' gem 'yajl-ruby', :require => 'yajl'
gem 'http_router' gem 'http_router'
Expand Down
16 changes: 16 additions & 0 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,13 +9,26 @@ PATH
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
activemodel (3.0.4)
activesupport (= 3.0.4)
builder (~> 2.1.2)
i18n (~> 0.4)
activerecord (3.0.4)
activemodel (= 3.0.4)
activesupport (= 3.0.4)
arel (~> 2.0.2)
tzinfo (~> 0.3.23)
activesupport (3.0.4) activesupport (3.0.4)
arel (2.0.8)
builder (2.1.2)
daemons (1.1.0) daemons (1.1.0)
eventmachine (0.12.10) eventmachine (0.12.10)
http_router (0.5.3) http_router (0.5.3)
rack (>= 1.0.0) rack (>= 1.0.0)
url_mount (~> 0.2.1) url_mount (~> 0.2.1)
i18n (0.5.0)
kgio (2.3.2) kgio (2.3.2)
mysql2 (0.2.6)
rack (1.2.1) rack (1.2.1)
rainbows (3.1.0) rainbows (3.1.0)
rack (~> 1.1) rack (~> 1.1)
Expand All @@ -24,6 +37,7 @@ GEM
daemons (>= 1.0.9) daemons (>= 1.0.9)
eventmachine (>= 0.12.6) eventmachine (>= 0.12.6)
rack (>= 1.0.0) rack (>= 1.0.0)
tzinfo (0.3.24)
unicorn (3.4.0) unicorn (3.4.0)
kgio (~> 2.2) kgio (~> 2.2)
rack rack
Expand All @@ -35,10 +49,12 @@ PLATFORMS
ruby ruby


DEPENDENCIES DEPENDENCIES
activerecord (= 3.0.4)
activesupport (= 3.0.4) activesupport (= 3.0.4)
cramp! cramp!
eventmachine (~> 0.12.10) eventmachine (~> 0.12.10)
http_router http_router
mysql2
rack (~> 1.2.1) rack (~> 1.2.1)
rainbows rainbows
thin (~> 1.2.7) thin (~> 1.2.7)
Expand Down
71 changes: 0 additions & 71 deletions examples/full.ru

This file was deleted.

15 changes: 0 additions & 15 deletions examples/hello_world.rb

This file was deleted.

3 changes: 2 additions & 1 deletion examples/hello_world.ru
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ class WelcomeController < Cramp::Action
end end
end end


# rainbows -E deployment -c rainbows.conf hello_world.ru # bundle exec thin -V -R examples/hello_world.ru start
# bundle exec rainbows -E deployment -c examples/rainbows.conf examples/hello_world.ru
run WelcomeController run WelcomeController

0 comments on commit 7e4e453

Please sign in to comment.