-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method '<<' for nil:NilClass #8
Comments
Also happening to me. |
I'm getting this too |
It works with Sinatra 1.3.2, but you must downgrade Rack to v1.3.6. |
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. |
So, is this a Rack-flash issue, or a Rack issue? |
Rack 1.4.0 was changed the infrastructure, so Rack-flash will follow that steps. |
Also confirmed here |
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:
|
Confirmed with these: |
Pretty funny, I just ran into this yesterday :) Aleks On Fri, Jan 20, 2012 at 12:23 PM, Marc Byrd
|
Same here, any workaround in the meantime? |
I've the same problem, downgrading rack to 1.3.6 in the meantime, Gemfile:
|
alternative: sinatra-flash |
Yeah, that's what I've moved to at this point. |
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. |
Can someone pull Chris Causer's fix? |
Hey guys, decided to go ahead and push a new gem that includes @ChrisCauser 's fixes, you can use it with:
|
@treeder, does it really need to require Ruby 1.9? |
@viking probably not, copied that rakefile from another gem. Removed and pushed new version just now. |
Awesome, thanks |
+1, same error here. Thanks to @treeder for rack-flash3, I'm using that now instead. |
+1, Thanks @treeder , rack-flash3 works! |
np. ;) |
rack-flash3 works great! thanks! @nakajima should merge in the fix! |
rack-flash3 is the great fix (had to gem uninstall rack-flash to make her work) Thank! Merge it! |
Thanks @malachaifrazier. That fix may have been obvious to some but it saved me a brief headache at the very least. |
This projects seems dead, not able to merge pull request for 8 months. |
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. |
It does not seem to be working with Sinatra 1.3.2
When just requiring rack-flash it throws this error:
The text was updated successfully, but these errors were encountered: