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
0
votes
2 answers

How to detect, that server is started in Sinatra/Thin

I have code like: Thread.new do builder = Rack::Builder.new do map('/'){ run Server } end Rack::Handler::Thin.run builder, :Port => 8585 end #how do i detect, that Server is running here (or wait for it) How can i detect, that Server is…
Ondra
  • 3,100
  • 5
  • 37
  • 44
0
votes
1 answer

Getting 411 Length Required Error when using remote link with jQuery Mobile inside android device

I'm getting this error when open a jQuery Mobile web with put/post ajax(remote) link inside an android device and trying to click on these link. The problem happens with Rails 3.1 running on WebRick and Passenger. Problem seem to vanish if I use…
Phương Nguyễn
  • 8,747
  • 15
  • 62
  • 96
0
votes
1 answer

Why is this Current Directory not being used?

A Rails application is deployed fine via Capistrano (on a gentoo box running Apache front end), a Symlink points to the correct (latest) directory. Only the server keeps using an older directory, restarting Thin does not help. It almost appears as…
David
  • 937
  • 1
  • 12
  • 22
0
votes
2 answers

missing config directory on Heroku - LoadError in config.ru

UPDATE I know now (from running heroku run bash and ls -la) that indeed the config directory is missing after deployment to heroku. It is however present in local repository. .gitignore /.bundle # Ignore the default SQLite…
yas4891
  • 4,774
  • 3
  • 34
  • 55
0
votes
2 answers

Thin Gem Won't Work on Heroku

I'm moving from the Bamboo stack to the Cedar one on Heroku, but I'm running into issues trying to run the Thin gem on Heroku. Locally, I'm running Windows Vista, but I have the same error mentioned in the comments here, When I add the Thin gem to…
yellowreign
  • 3,528
  • 8
  • 43
  • 80
0
votes
3 answers

Cannot restart thin via remote machine

I use Thin to serve the rails application located on a test machine. I'd like to be able to stop/start thin from my local machine but the following does not work: ssh luc@test_machine '/home/luc/.rvm/gems/ruby-1.9.3-p125/bin/thin -v' I got the…
Luc
  • 16,604
  • 34
  • 121
  • 183
0
votes
1 answer

thin starts two ruby processes per server, kills wrong one

I'm starting up three thin processes with bundle exec thin start -C /etc/thin/staging.yml I use rvm, ruby version is ree-1.8.7 Contents of /etc/thin/staging.yml: --- timeout: 30 …
Michiel de Mare
  • 41,982
  • 29
  • 103
  • 134
0
votes
1 answer

Starting multiple instances of Thin Server on Windows with a batch script

I'm writing a script to automatically deploy a ruby on rails application in Windows. I have everything automated except for the thin cluster startup; it turns out that daemonizing is not supported in Windows so I cannot use the -servers command…
RobVious
  • 12,685
  • 25
  • 99
  • 181
0
votes
1 answer

Thin doesn't start rails server

I have a ubuntu server with rails(rvm) + nginx + thin. Nginx is listening to porst 3000-3 and works good if I start rails manually, so I guess the problem is with thin. I've configured thin to start 3 server instances in ports 3000,3001,3002 but…
Papzord
  • 408
  • 4
  • 14
0
votes
1 answer

Starting a Thin cluster on Windows

I have a ruby app on my machine that I'm trying to deploy with a batch script. I've got everything up to the server handled. This is what I'm using: cd to/path/of/app thin start -p 3001 This works. cd to/path/of/app thin start --servers 3 As…
RobVious
  • 12,685
  • 25
  • 99
  • 181
0
votes
0 answers

thin start doesn't work, but rails server does

I can't run my Rails app through thin: $ bundle exec thin start Could not find babosa-0.3.6 in any of the sources Run `bundle install` to install missing gems. But default Rails WEBrick server works well: $ rails server => Booting WEBrick =>…
Lai Yu-Hsuan
  • 27,509
  • 28
  • 97
  • 164
-1
votes
2 answers

Thin/eventmachine non-root installation problem

Trying to run ruby on rails framework under nginx+thin, currently working under WEBrick. I don't have root access, cause it is hosted at web hosting service. Till this moment all problems with gems solved w/o root access. thin requires eventmachine,…
-1
votes
1 answer

HP thin client T610 freeRDP old authentication

We are using HP Thin Clients type F5A52AA#UUZ (Linux HPThinPro) to connect to a Windows 2016 Terminal Server. Connection works - but in our environment we use the old RDP authentication (we now the possible DoS problem based on such a configuration)…
-1
votes
1 answer

citrix thin client performance issue

I'm having following problem: We, in our company, are working in a mixed environment. Thin clients (HP-T520) and laptops. Our users connect to a citrix server to go onto the internet. We use a web application for our main business (which we navigate…
Brggmn
  • 1
  • 3
-1
votes
3 answers

Rails production server (thin): pages occasionally load slower

I'm running my Rails application through thin on Windows OS. thin start -e production Since the number of users grew, now around 10 people using the app simultaneously, there are times when a same page takes a while longer to load. Are there…
Pod Mays
  • 2,563
  • 7
  • 31
  • 44
1 2 3
46
47