Skip to content

Crashing by Just Requiring #89

Open
@maddox

Description

I'm not sure if i'm doing something stupid or not, but I can't get the gem to even load without a crash.

require 'rubygems'
require 'airplay'

=>

D, [2015-08-02T00:14:43.005309 #23236] DEBUG -- : Celluloid 0.17.0 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
D, [2015-08-02T00:14:49.176172 #23236] DEBUG -- : Terminating 5 actors...
/opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/reel-0.6.0.pre5/lib/reel/response.rb:10:in `<class:Response>': uninitialized constant HTTP::Response::Status (NameError)
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/reel-0.6.0.pre5/lib/reel/response.rb:4:in `<module:Reel>'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/reel-0.6.0.pre5/lib/reel/response.rb:3:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/reel-0.6.0.pre5/lib/reel.rb:13:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:126:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:126:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/reel-rack-0.1.0/lib/reel/rack/server.rb:3:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/reel-rack-0.1.0/lib/rack/handler/reel.rb:1:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/reel-rack-0.1.0/lib/reel/rack.rb:2:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/server.rb:4:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/player.rb:8:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/playable.rb:1:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/device.rb:2:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/devices.rb:2:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/airplay-1.0.3/lib/airplay/browser.rb:5:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/gems/2.1.0/gems/airplay-1.0.3/lib/airplay.rb:2:in `<top (required)>'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /opt/rubies/2.1.6-github1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from untitled:2:in `<main>'

I'm running this on Ruby 2.1.6.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions