Skip to content
This repository was archived by the owner on Dec 7, 2018. It is now read-only.
This repository was archived by the owner on Dec 7, 2018. It is now read-only.

Doesn't work with Celluloid 0.17 #21

@b-dean

Description

@b-dean

The very basic example in the wiki won't work with celluloid 0.17

config.ru looks like:

run Proc.new {|env| [200, {"Content-Type" => "text/html"}, "Hello Rack!"]}

Gemfile

source 'https://rubygems.org'
gem 'reel-rack', github: 'celluloid/reel-rack'

when I run it:

$ bundle exec reel-rack
I, [2015-09-14T18:45:13.747559 #4193]  INFO -- : Celluloid 0.17.1.2 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
/tmp/foo/vendor/bundle/ruby/2.2.0/gems/celluloid-supervision-0.20.1.1/lib/celluloid/supervision/deprecate/supervise.rb:54:in `router': undefined method `services' for Celluloid:Module (NoMethodError)
    from /tmp/foo/vendor/bundle/ruby/2.2.0/gems/celluloid-supervision-0.20.1.1/lib/celluloid/supervision/deprecate/supervise.rb:11:in `supervise_as'
    from /tmp/foo/vendor/bundle/ruby/2.2.0/gems/celluloid-supervision-0.20.1.1/lib/celluloid/supervision/deprecate/supervise.rb:24:in `supervise_as'
    from /tmp/foo/vendor/bundle/ruby/2.2.0/bundler/gems/reel-rack-2edd5ff371a9/lib/rack/handler/reel.rb:18:in `run'
    from /tmp/foo/vendor/bundle/ruby/2.2.0/bundler/gems/reel-rack-2edd5ff371a9/lib/reel/rack/cli.rb:47:in `run'
    from /tmp/foo/vendor/bundle/ruby/2.2.0/bundler/gems/reel-rack-2edd5ff371a9/bin/reel-rack:5:in `<top (required)>'
    from /tmp/foo/vendor/bundle/ruby/2.2.0/bin/reel-rack:23:in `load'
    from /tmp/foo/vendor/bundle/ruby/2.2.0/bin/reel-rack:23:in `<main>'

works fine with gem 'celluloid', '< 0.17' in the Gemfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions