Comments (8)
Ah. looking at the console, something is blowing up because of:
RuntimeError - Unknown media type: ".rz":
...
geminabox/lib/hostess.rb:24:in `GET /quick/Marshal.4.8/*.gemspec.rz'
now what?
from geminabox.
Hi Greg,
What version of Sinatra are you using?
The upload button is for uploading a .gem file.
from geminabox.
(sorry for the delay -- I was expecting to get an email from the comment system, maybe it got junked)
Sinatra 1.1.0, Thin 1.2.7, Ruby 1.8.7 (but now that I think about it, I'll have to deploy on 1.8.6)
from geminabox.
I am having a similar problem using Unicorn:
127.0.0.1 - - [10/Nov/2010 10:26:03] "GET /prerelease_specs.4.8.gz HTTP/1.1" 200 24 0.0012
RuntimeError - Unknown media type: ".rz":
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:132:in content_type' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:155:in
send_file'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/geminabox-0.2.8/lib/hostess.rb:5:in serve' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/geminabox-0.2.8/lib/hostess.rb:24:in
GET /quick/Marshal.4.8/_.gemspec.rz'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in call' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
compile!'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in instance_eval' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
route_eval'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in route!' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:656:in
process_route'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in catch' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
process_route'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:603:in route!' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
each'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in route!' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:741:in
dispatch!'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in call!' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
instance_eval'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in invoke' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
catch'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in invoke' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
call!'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:516:in call' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/showexceptions.rb:24:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in call' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1168:in synchronize' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/lint.rb:48:in _call' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/lint.rb:36:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/showexceptions.rb:24:in call' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/commonlogger.rb:18:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:510:in process_client' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:585:in
worker_loop'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:583:in each' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:583:in
worker_loop'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:473:in spawn_missing_workers' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:470:in
fork'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:470:in spawn_missing_workers' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:466:in
each'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:466:in spawn_missing_workers' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:480:in
maintain_worker_count'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:163:in start' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn.rb:13:in
run'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/bin/unicorn:120
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/bin/unicorn:19:in load' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/bin/unicorn:19 RuntimeError: Unknown media type: ".rz" /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:132:in
content_type'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:155:in send_file' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/geminabox-0.2.8/lib/hostess.rb:5:in
serve'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/geminabox-0.2.8/lib/hostess.rb:24:in GET /quick/Marshal.4.8/_.gemspec.rz' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:incompile!' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
instance_eval'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:inroute_eval' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in
route!'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:656:inprocess_route' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
catch'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:inprocess_route' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:603:in
route!'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:ineach' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
route!'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:741:indispatch!' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
call!'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:ininstance_eval' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
invoke'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:incatch' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
invoke'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:incall!' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:516:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/showexceptions.rb:24:incall' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:incall' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1168:in
synchronize'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:incall' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/lint.rb:48:in
_call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/lint.rb:36:incall' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/showexceptions.rb:24:in
call'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/commonlogger.rb:18:incall' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:510:in
process_client'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:585:inworker_loop' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:583:in
each'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:583:inworker_loop' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:473:in
spawn_missing_workers'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:470:infork' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:470:in
spawn_missing_workers'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:466:ineach' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:466:in
spawn_missing_workers'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:480:inmaintain_worker_count' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn/http_server.rb:163:in
start'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/lib/unicorn.rb:13:inrun' /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/gems/unicorn-2.0.0/bin/unicorn:120 /Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/bin/unicorn:19:in
load'
/Users/jsgoecke/.rvm/gems/ruby-1.8.7-p302/bin/unicorn:19
127.0.0.1 - - [10/Nov/2010 10:26:17] "GET /quick/Marshal.4.8/tropo-provisioning-0.0.1.gemspec.rz HTTP/1.1" 500 126291 0.0597
from geminabox.
Firstly, my apologies for the delay.
I have replicated the problem in Sinatra 1.1, and it now seems fixed in geminabox-0.2.9.pre1
.
Try a gem install geminabox --prerelease
and let me know if this fixes for you.
Thanks for your patience.
from geminabox.
Hi Tom,
just a couple of lines to let you know that I had the same issue and 0.2.9.pre1 solved it for me.
My conf was:
MRI ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
passenger (3.0.0)
rack (1.2.1)
sinatra (1.1.0)
Thanks,
Paolo Angelini
from geminabox.
Thanks pablito. I've regression tested it on sinatra 1.0, so I'll ship it out as 0.2.9.
from geminabox.
Release the fix for sinatra 1.1.0.
Closed by 01abc65
from geminabox.
Related Issues (20)
- Enable rubocop-minitest in RuboCop
- Enable rubocop-rake in RuboCop
- Remove incremental index updates from geminabox and drop support for RubyGems 1.8.24 and earlier
- Drop support for RubyGems before 2.0.0 HOT 1
- Drop support for RubyGems before 2.5.0
- Drop support for RubyGems before 2.4.0 HOT 2
- Drop Ruby 2.2 support
- Drop Ruby 2.3 support HOT 5
- Drop Ruby 2.4 support HOT 5
- Drop Ruby 2.5 support HOT 3
- Drop Ruby 2.6 support HOT 3
- rake c warns loading "ubygems"
- Add Code of Conduct HOT 3
- Add CONTRIBUTING
- Add logo to README HOT 1
- Join good first issue platform HOT 5
- Improve bundled Dockerfile HOT 6
- How to auth per gem? HOT 1
- NameError - uninitialized constant Geminabox::VERSION HOT 12
- Support Ruby 3.2 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 geminabox.