Comments (3)
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.
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.
pin to rack < 1.2 until ruby 1.8.6 bug fix is shipped, closed by 7cb5a55
from bcat.
Related Issues (18)
- You linked to a non official version of ansi2html.sh HOT 2
- Example Vim mapping doesn't work [with fix]
- bcat fails when the current directory contains spaces HOT 2
- wring readme
- [patch] Add a2h + btee as executables in the RubyGem HOT 1
- Issues capturing stdout from bundled gems? HOT 3
- Contrib: a ZSH snippet (easily portable) to open man pages with bcat: bman HOT 3
- BCAT_COMMAND is ignored HOT 3
- Shell quoting fails HOT 1
- duplication on man page bcat-ing HOT 1
- rack dependency < 1.2 HOT 4
- allow multiple connections HOT 1
- ability to specify port HOT 1
- Inject Css Styles HOT 2
- jruby doesn't support `fork` HOT 1
- feature HOT 1
- license HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcat.