3 engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'
5 path = "tmp/isolate/#{engine}-#{RUBY_VERSION}"
8 # we want "ruby-1.8.7" and not "ruby-1.8", so disable multiruby
14 $stdout.reopen($stderr)
17 gem 'rack', '1.1.0' # Cramp currently requires ~> 1.1.0
18 gem 'unicorn', '1.1.1'
22 gem 'sendfile', '1.0.0' # next Rubinius should support this
24 gem 'iobuffer', '0.1.3'
27 gem 'eventmachine', '0.12.10'
28 gem 'sinatra', '1.0.0'
29 gem 'async_sinatra', '0.2.1'
31 gem 'neverblock', '0.1.6.2'
35 if defined?(::Fiber) && engine == "ruby"
37 gem 'revactor', '0.1.5'
38 gem 'rack-fiber_pool', '0.9.0'
42 $stdout.reopen(old_out)
43 puts Dir["#{path}/gems/*-*/lib"].map { |x| File.expand_path(x) }.join(':')