Skip to content
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

[ERROR] [Faye::RackAdapter] undefined method `[]' for nil:NilClass #129

Closed
yury opened this issue Mar 5, 2012 · 11 comments
Closed

[ERROR] [Faye::RackAdapter] undefined method `[]' for nil:NilClass #129

yury opened this issue Mar 5, 2012 · 11 comments

Comments

@yury
Copy link

yury commented Mar 5, 2012

Sometimes see this error in my logs https://gist.github.com/a2a5b56cb65d29dbf025

ruby -v
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]

@jcoglan
Copy link
Collaborator

jcoglan commented Mar 5, 2012

Already fixed in 91b9b1d.

@jcoglan jcoglan closed this as completed Mar 5, 2012
@yury
Copy link
Author

yury commented Mar 5, 2012

@jcoglan thanks. Sorry for noise.

Any plans to release new version? Can't bundle directly to git repo because of jake.

@jcoglan
Copy link
Collaborator

jcoglan commented Mar 5, 2012

I'm trying to get it released this week -- it's a minor bug-fix release.

You should be able to build from source like this:

git clone git://github.com/faye/faye.git
cd faye
bundle
bundle exec jake
gem build faye-websocket-x.y.z.gem

Is this not working?

@prikha
Copy link

prikha commented Mar 11, 2012

Can you tell how to specify it correclty in Gemfile?

@prikha
Copy link

prikha commented Mar 11, 2012

It asks for a proper gemspec file

@jcoglan
Copy link
Collaborator

jcoglan commented Mar 12, 2012

I'm not sure how to do this with Bundler, considering the pre-build task that needs to be run in the to make the gemspec valid. I am working on getting this fixed and shipped very soon, please be patient.

@jcoglan
Copy link
Collaborator

jcoglan commented Mar 15, 2012

Sorry for taking longer than I would have liked, but this fix just got shipped in version 0.8.1.

@yury
Copy link
Author

yury commented Mar 16, 2012

Thank you.

@ghost
Copy link

ghost commented Mar 19, 2012

Im still having this issue after building 0.8.1

@jcoglan
Copy link
Collaborator

jcoglan commented Mar 19, 2012

@chemicalfire Can you find out what is nil that should not be?

@ghost
Copy link

ghost commented Mar 19, 2012

@jcoglan It appears to be an issue with private_pub I think now, I don't think its properly loading the yaml config file for some reason. So when it is looking for the server and token info from the config file it is returning a nil. Sorry to raise a false alarm. Wish I could figure this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants