Skip to content

Instantly share code, notes, and snippets.

@necrophcodr
Created November 17, 2012 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save necrophcodr/4095065 to your computer and use it in GitHub Desktop.
Save necrophcodr/4095065 to your computer and use it in GitHub Desktop.
Error message from "thin start" on a padrino project
>> Using rack adapter
An exception occurred running /home/necrophcodr/.rvm/gems/rbx-head@global/bin/thin
Connection refused - connect(2) (Errno::ECONNREFUSED)
Backtrace:
 Errno.handle at kernel/common/errno.rb:18
TCPSocket#tcp_setup at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/socket.rb:1114
TCPSocket#initialize at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/socket.rb:1032
 Class#new at kernel/alpha.rb:96
 IO.open at kernel/common/io.rb:211
{ } in Net::HTTP#connect at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/net/http.rb:762
Timeout.timeout at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/timeout.rb:143
Object(Net::HTTP)#timeout at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/timeout.rb:168
Net::HTTP#connect at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/net/http.rb:762
Net::HTTP#do_start at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/net/http.rb:755
Net::HTTP#start at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/19/net/http.rb:744
RestClient::Request#transmit at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/rest-client-1.6.7
/lib/restclient/request.rb:172
RestClient::Request#execute at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/rest-client-1.6.7
/lib/restclient/request.rb:64
RestClient::Request.execute at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/rest-client-1.6.7
/lib/restclient/request.rb:33
CouchRest::RestAPI(Module)#execute at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/couchrest-1.1.3
/lib/couchrest/rest_api.rb:94
CouchRest::RestAPI(Module)#head at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/couchrest-1.1.3
/lib/couchrest/rest_api.rb:74
CouchRest::Server#database! at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/couchrest-1.1.3
/lib/couchrest/server.rb:58
CouchRest.database! at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/couchrest-1.1.3
/lib/couchrest.rb:102
{ } in Object#__script__ at config/database.rb:9
CouchRest::Model::Configuration::ClassMethods(Class)#configure at \
/home/necrophcodr/.rvm/gems/rbx-head@global/gems/couchrest_model-1.1.2/lib/couchrest/model/configuration.rb:61
Object#__script__ at config/database.rb:7
 Rubinius::CodeLoader.require at kernel/common/codeloader.rb:212
 Kernel(Module)#require at kernel/common/kernel.rb:648
Padrino::Reloader.safe_load at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems
/padrino-core-0.10.7/lib/padrino-core
/reloader.rb:148
{ } in Padrino.require_dependencies at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems
/padrino-core-0.10.7/lib/padrino-core
/loader.rb:163
 Array#each at kernel/bootstrap/array.rb:68
Padrino.require_dependencies at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems
/padrino-core-0.10.7/lib/padrino-core
/loader.rb:161
Padrino.load! at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems
/padrino-core-0.10.7/lib/padrino-core
/loader.rb:67
Object#__script__ at config/boot.rb:45
 Rubinius::CodeLoader.require at kernel/common/codeloader.rb:212
 Kernel(Rack::Builder)#gem_original_require (require) at kernel/common
/kernel.rb:648
Kernel(Rack::Builder)#require at /home/necrophcodr/.rvm/rubies/rbx-head
/lib/rubygems/custom_require.rb:36
{ } in Object(Rack::Builder)#__script__ at config.ru:7
 BasicObject(Rack::Builder)#instance_eval at kernel/common/eval19.rb:45
Rack::Builder#initialize at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/rack-1.4.1/lib
/rack/builder.rb:51
 Class#new at kernel/alpha.rb:96
{ } in Object#__script__ at config.ru:1
 Rubinius::BlockEnvironment#call_on_instance at kernel/common
/block_environment.rb:75
 Kernel(Module)#eval at kernel/common/eval.rb:75
Rack::Adapter.load at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/thin-1.5.0/lib
/rack/adapter/loader.rb:33
Rack::Adapter.for at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/thin-1.5.0/lib
/rack/adapter/loader.rb:42
Thin::Controllers::Controller#load_adapter at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/thin-1.5.0
/lib/thin/controllers
/controller.rb:169
Thin::Controllers::Controller#start at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/thin-1.5.0/lib
/thin/controllers/controller.rb:73
Thin::Runner#run_command at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/thin-1.5.0/lib
/thin/runner.rb:187
Thin::Runner#run! at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/thin-1.5.0/lib
/thin/runner.rb:152
Object#__script__ at /home/necrophcodr/.rvm/gems
/rbx-head@global/gems/thin-1.5.0/bin
/thin:6
 Kernel(Object)#load at kernel/common/kernel.rb:597
Object#__script__ at /home/necrophcodr/.rvm/gems
/rbx-head@global/bin/thin:23
 Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:68
 Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:118
 Rubinius::Loader#script at kernel/loader.rb:614
 Rubinius::Loader#main at kernel/loader.rb:815
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment