Coder Social home page Coder Social logo

bcat isn't working for me about bcat HOT 3 CLOSED

joem avatar joem commented on August 30, 2024
bcat isn't working for me

from bcat.

Comments (3)

rtomayko avatar rtomayko commented on August 30, 2024

I believe this is due to a bug in rack 1.2.1. You could jump down to a previous version of Rack with something like:

gem install rack -v 1.1.0
gem uninstall rack -v 1.2.1

I'll see about detecting ruby 1.8.6 + rack 1.2.1 and monkey-patching it until we can get a rack patch release out.

Thanks for the report.

from bcat.

joem avatar joem commented on August 30, 2024

Thanks. It works now. But I am still getting some errors from Ruby, just none that are stopping bcat from working:

/Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat.rb:104:in `initialize': wrong number of arguments (0 for 1) (ArgumentError)
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat.rb:104:in `exception'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat.rb:104:in `raise'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat.rb:104:in `close'
from /Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:46:in `close'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat/server.rb:109:in `process_request'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat/server.rb:67:in `listen'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat/server.rb:33:in `loop'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat/server.rb:33:in `listen'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat/server.rb:12:in `run'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/lib/bcat.rb:33:in `serve!'
from /Library/Ruby/Gems/1.8/gems/bcat-0.5.0/bin/bcat:60
from /usr/bin/bcat:19:in `load'
from /usr/bin/bcat:19

from bcat.

rtomayko avatar rtomayko commented on August 30, 2024

pin to rack < 1.2 until ruby 1.8.6 bug fix is shipped, closed by 7cb5a55

from bcat.

Related Issues (18)

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.