Questions tagged [thin]

Thin is an EventMachine-based web server written in Ruby for running Rack-based web apps.

Thin is a Ruby web server that glues together 3 of the best Ruby libraries in web history:

the Mongrel parser, the root of Mongrel speed and security Event Machine, a network I/O library with extremely high scalability, performance and stability Rack, a minimal interface between webservers and Ruby frameworks Which makes it, with all humility, the most secure, stable, fast and extensible Ruby web server bundled in an easy to use gem for your own pleasure.

695 questions
-1
votes
1 answer

Simple Sinatra Sessions Not Working

According to the Sinatra FAQ, a Sinatra app like this should work: enable :sessions class MyApp < Sinatra::Base get '/foo' do session[:message] = 'Hello World!' redirect to('/bar') end get '/bar' do $stderr.puts session[:message] …
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
-1
votes
1 answer

Action_caching not working when using thin

I have an application running on my development machine using Aptana & Webrick. If I turn on caching (action_caching, written to tmp/cache), it works fine, but when I deploy the application to the testserver (running thin instead of webrick) the…
spaceman
  • 31
  • 6
-1
votes
1 answer

Are there Ruby servers that can handle multiple requests in one thread?

coming from Java world where we have NIO (nonblocking IO) I am not able to find a Ruby server that would be able to do the same as Jetty for example - to handle multiple requests with one thread. This is application transparent and using multiple…
lzap
  • 16,417
  • 12
  • 71
  • 108
-1
votes
2 answers

Thin web server refuses to run in Windows 7 x64

I have taken a project from Github and can't make it working in Windows 7 x64. When I attempt to start a debugger in RubyMine, I am getting this: runnerw.exe C:\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)…
Paul
  • 25,812
  • 38
  • 124
  • 247
-1
votes
1 answer

Will Apache + Thin + SSE work?

We use Apache as a proxy in front of all of our applications. Will using Apache in front of Thin as a proxy server work? I am hoping to do a chat type of application like the one delivered with Sinatra.
Sixty4Bit
  • 12,852
  • 13
  • 48
  • 62
1 2 3
46
47