Git Product home page Git Product logo

Comments (28)

malachaifrazier avatar malachaifrazier commented on August 17, 2024 1

rack-flash3 is the great fix (had to gem uninstall rack-flash to make her work) Thank! Merge it!

from rack-flash.

carsonbaker avatar carsonbaker commented on August 17, 2024

Also happening to me.

from rack-flash.

daz4126 avatar daz4126 commented on August 17, 2024

I'm getting this too

from rack-flash.

tonkla avatar tonkla commented on August 17, 2024

It works with Sinatra 1.3.2, but you must downgrade Rack to v1.3.6.

from rack-flash.

ptinsley avatar ptinsley commented on August 17, 2024

throwing a "me too" on this, the workaround @tonkla posted works for me, rack was on 1.4.0, went down to 1.3.6 and the error goes away.

from rack-flash.

 avatar commented on August 17, 2024

So, is this a Rack-flash issue, or a Rack issue?

from rack-flash.

tonkla avatar tonkla commented on August 17, 2024

Rack 1.4.0 was changed the infrastructure, so Rack-flash will follow that steps.

from rack-flash.

julik avatar julik commented on August 17, 2024

Also confirmed here

from rack-flash.

thekeith avatar thekeith commented on August 17, 2024

Confirmed this as an issue on my end as well. This is occurring on Heroku with the bamboo-mri-1.9.2 stack. Text of error:

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

from rack-flash.

CloudMarc avatar CloudMarc commented on August 17, 2024

Confirmed with these:
Using bundler (1.0.21)
Using rack (1.3.5)
Using rack-flash (0.1.2)
Using sinatra (1.3.1)
ruby 1.9.3p0

from rack-flash.

atotic avatar atotic commented on August 17, 2024

Pretty funny, I just ran into this yesterday :)

Aleks

On Fri, Jan 20, 2012 at 12:23 PM, Marc Byrd
[email protected]
wrote:

Confirmed with these:
 Using bundler (1.0.21)
 Using rack (1.3.5)
 Using rack-flash (0.1.2)
 Using sinatra (1.3.1)
 ruby 1.9.3p0


Reply to this email directly or view it on GitHub:
#8 (comment)

from rack-flash.

 avatar commented on August 17, 2024

Same here, any workaround in the meantime?

from rack-flash.

4poc avatar 4poc commented on August 17, 2024

I've the same problem, downgrading rack to 1.3.6 in the meantime, Gemfile:
gem "rack", "<= 1.3.6"

Using rack (1.3.6) 
Using rack-flash (0.1.2) 
Using sinatra (1.3.2) 

from rack-flash.

jessor avatar jessor commented on August 17, 2024

alternative: sinatra-flash

from rack-flash.

codykrieger avatar codykrieger commented on August 17, 2024

Yeah, that's what I've moved to at this point.

from rack-flash.

chy-causer avatar chy-causer commented on August 17, 2024

I've had a look and it seems to be caused by some dead code. Removing it seemed to fix it for me, and I'm not sure what it was ever supposed to do because it was monkey patching Rack::Builder!!

https://github.com/ChrisCauser/rack-flash

The tests don't run because it requires Sinatra < 1.0 (again, !!!!) Once I've had a look at the tests I'll put in a pull request, but in the meantime folks, take a look at the fork linked above.

from rack-flash.

seydar avatar seydar commented on August 17, 2024

Can someone pull Chris Causer's fix?

from rack-flash.

treeder avatar treeder commented on August 17, 2024

Hey guys, decided to go ahead and push a new gem that includes @ChrisCauser 's fixes, you can use it with:

gem 'rack-flash3'

Project: https://github.com/treeder/rack-flash

from rack-flash.

viking avatar viking commented on August 17, 2024

@treeder, does it really need to require Ruby 1.9?

from rack-flash.

treeder avatar treeder commented on August 17, 2024

@viking probably not, copied that rakefile from another gem. Removed and pushed new version just now.

from rack-flash.

viking avatar viking commented on August 17, 2024

Awesome, thanks

from rack-flash.

wapcaplet avatar wapcaplet commented on August 17, 2024

+1, same error here. Thanks to @treeder for rack-flash3, I'm using that now instead.

from rack-flash.

learning avatar learning commented on August 17, 2024

+1, Thanks @treeder , rack-flash3 works!

from rack-flash.

treeder avatar treeder commented on August 17, 2024

np. ;)

from rack-flash.

mmmurf avatar mmmurf commented on August 17, 2024

rack-flash3 works great! thanks! @nakajima should merge in the fix!

from rack-flash.

bradley avatar bradley commented on August 17, 2024

Thanks @malachaifrazier. That fix may have been obvious to some but it saved me a brief headache at the very least.

from rack-flash.

rubycut avatar rubycut commented on August 17, 2024

This projects seems dead, not able to merge pull request for 8 months.

from rack-flash.

rupe avatar rupe commented on August 17, 2024

I'm trying to use rack-flash3 with sinatra-authentication, unfortunately I cannot get the latter gem to recognize it. The only way I can get the sinatra-authentication gem to work is by using the Rack 1.3.6 gem, 1.4.1 does not fix the issue.

from rack-flash.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.