evanphx/puma — Issue #37: uninitialized constant Rubinius::FROM_AGENT (NameError)
Author: mathias
Created: 2012-01-28 21:41:40+00:00
State: open

I've tried 0.9.3, 0.9.2 and 0.9.0 releases of the Puma gem on Rubinius in the hope that I could get around this. All requests to the app immediately make Puma die.

```$ rails s puma
=> Booting Puma
=> Rails 3.2.0 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Puma 0.9.2 starting...
* Min threads: 0, max threads: 16
* Listening on tcp://0.0.0.0:3000
Exiting
An exception occurred running script/rails
uninitialized constant Rubinius::FROM_AGENT (NameError)

User defined backtrace:

Backtrace:
ActiveSupport::Dependencies(Module)#load_missing_constant at \
/Users/mathiasx/Developer/.rvm/gems/rbx-head@peculiarity/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:520
{ } in ActiveSupport::Dependencies::ModuleConstMissing(Module)#const_missing at \
/Users/mathiasx/Developer/.rvm/gems/rbx-head@peculiarity/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:192
Array#each at kernel/bootstrap/array.rb:68
ActiveSupport::Dependencies::ModuleConstMissing(Module)#const_missing at \
/Users/mathiasx/Developer/.rvm/gems/rbx-head@peculiarity/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:190
{ } in Rubinius::AgentRegistry.spawn_thread at kernel/delta/agent.rb:52
Thread#__run__ at kernel/bootstrap/thread.rb:146```

Here's my RVM info:
```$ rvm info

rbx-head@peculiarity:

system:
uname: "Darwin banshee.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386"
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)"
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)"

rvm:
version: "rvm 1.10.2 by Wayne E. Seguin , Michal Papis [https://rvm.beginrescueend.com/]"
updated: "21 hours 54 minutes 21 seconds ago"

ruby:
interpreter: "rubinius"
version: "2.0.0dev"
date: "rubinius 2.0.0dev (1.8.7 70773724 yyyy-mm-dd JI) [x86_64-apple-darwin10.8.0]"
platform: "x86_64-apple-darwin10.8.0"
patchlevel: "1.8.7 70773724 yyyy-mm-dd JI"
full_version: "rubinius 2.0.0dev (1.8.7 70773724 yyyy-mm-dd JI) [x86_64-apple-darwin10.8.0]"

homes:
gem: "/Users/mathiasx/Developer/.rvm/gems/rbx-head@peculiarity"
ruby: "/Users/mathiasx/Developer/.rvm/rubies/rbx-head"

binaries:
ruby: "/Users/mathiasx/Developer/.rvm/rubies/rbx-head/bin/ruby"
irb: "/Users/mathiasx/Developer/.rvm/rubies/rbx-head/bin/irb"
gem: "/Users/mathiasx/Developer/.rvm/rubies/rbx-head/bin/gem"
rake: "/Users/mathiasx/Developer/.rvm/gems/rbx-head@global/bin/rake"

environment:
PATH: "/Users/mathiasx/Developer/.rvm/gems/rbx-head@peculiarity/bin:/Users/mathiasx/Developer/.rvm/gems/rbx-head@global/bin:/Users/mathiasx/Developer/.rvm/rubies/rbx-head/bin:/Users/mathiasx/Developer/.rvm/bin:/Users/mathiasx/Developer/share/python:/Users/mathiasx/Developer/share/npm/bin:/Users/mathiasx/Developer/Cellar/python/2.7/bin:/Users/mathiasx/Developer/bin:/Users/mathiasx/Developer/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/X11/bin"
GEM_HOME: "/Users/mathiasx/Developer/.rvm/gems/rbx-head@peculiarity"
GEM_PATH: "/Users/mathiasx/Developer/.rvm/gems/rbx-head@peculiarity:/Users/mathiasx/Developer/.rvm/gems/rbx-head@global"
MY_RUBY_HOME: "/Users/mathiasx/Developer/.rvm/rubies/rbx-head"
IRBRC: "/Users/mathiasx/Developer/.rvm/rubies/rbx-head/.irbrc"
RUBYOPT: ""
gemset: "peculiarity"```