futurechimp/enigmamachine

Unexpected error while processing request: undefined method `<<' for nil:NilClass

sharp opened this issue · 5 comments

rvmsudo enigmamachine start

DEPRECATION WARNING: require "activesupport" is deprecated and will be removed in Rails 3. Use require "active_support" instead. (called from /home/sharp/.rvm/gems/ree-1.8.7-2012.02/gems/activesupport-2.3.12/lib/activesupport.rb:2)
:public is no longer used to avoid overloading Module#public, use :public_folder instead
    from /home/sharp/.rvm/gems/ree-1.8.7-2012.02/gems/enigmamachine-0.6.4/bin/../lib/enigmamachine/../enigmamachine.rb:76
== Sinatra/1.3.2 has taken the stage on 2002 for production with backup from Thin
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
>> Maximum connections set to 1024
>> Listening on localhost:2002, CTRL+C to stop
!! Unexpected error while processing request: undefined method `<<' for nil:NilClass
!! Unexpected error while processing request: undefined method `<<' for nil:NilClass

Aha, yes, that would be a problem, wouldn't it?

I'll try and carve out some time to take a look at this a little later today.

Hi SharpX,

I am not getting this result - running on a Debian desktop with Ruby 1.8.7 and rvm. I have tried with both "enigmamachine start" and "rvmsudo enigmamachine start".

Is there anything further in the stacktrace, where I can try and pinpoint a line number?

Aha. Spoke too soon - a request to localhost:2002 does the trick. Investigating...

Ok, this is fixed. It appears that one of our dependencies, rack-flash, doesn't work with newer versions of rack (see nakajima/rack-flash#8). Swapping in the sinatra-flash gem seems to do the trick.

You should be able to gem install enigmamachine again to pick up the newest version (0.6.5).

thanks!