thin Questions
2
Solved
I'm creating a Sinatra app that takes an uploaded CSV file and puts its contents in a hash. When I reference this hash in my app.rb like so:
hash = extract_values(path_to_filename)
I keep g...
1
Solved
1
Solved
I am running a Sinatra application locally.
Ever since I installed Thin, my Sinatra app always uses it as the web server. However, I have been having performance issues with Thin serving the large...
1
Deploying my first web app. I have been using thin, it's simple and easy. All I need is a config file.
But a lot of people use nginx and place a couple thin instance behind that. Why? Why not just...
Outfield asked 18/3, 2013 at 4:7
3
Solved
With so many choices for the application server (Passenger, Thin, Unicorn, Mongrel, Puma and Rainbows!), I'm wondering what would be appropriate for the following scenario:
Rails is used purely fo...
Haricot asked 14/2, 2013 at 12:55
7
Solved
We're working on a Ruby on Rails app that needs to take advantage of html5 websockets. At the moment, we have two separate "servers" so to speak: our main app running on nginx+passenger, and a sepa...
Sapowith asked 10/3, 2010 at 18:7
2
Solved
So the question basically boild down to this:
How do you efficiently handle changing assets in a production rails environment without the need to restart the server?
The problem we're experiencin...
Resolvable asked 21/12, 2012 at 13:44
1
In the Thin website: http://code.macournoyer.com/thin/usage/ it says that you can start multiple servers using:
thin start --servers 3
Why would you need to do this?
Is each server assig...
Gigot asked 25/11, 2012 at 7:6
1
I recently added a subdomain constraint to my Rails routes file
constraints(:subdomain => 'new') do
devise_for :customers do
get "/customers/sign_up" => "registrations#new"
post "/custom...
Selfpropelled asked 6/11, 2012 at 17:48
3
Solved
I have been playing around and evaluating other options to rails' default WEBrick server and Thin was the most painless and clean thing which worked very well!!
which one of these Mongrel, Thin, W...
Agbogla asked 27/10, 2012 at 5:24
2
I have been looking into the possibility of backgrounding some jobs with EventMachine. In Sinatra this appears to work great but Rails 3 appears to execute all ticks before rendering a view.
When ...
Enthral asked 21/2, 2011 at 1:1
2
Solved
Possible Duplicate:
'ab' program freezes after lots of requests, why?
Here's a simple test server:
require 'rubygems'
require 'rack'
require 'thin'
class HelloWorld
def ca...
Imperial asked 6/2, 2012 at 6:49
6
Solved
I cannot install thin gem on windows. Something happen during build of native extensions.
Do anybody face same issues?
Here is the stack trace:
>gem install thin --no-ri --no-rdoc
Temporaril...
4
Solved
I've been starting Thin with thin -V start in development.
However, I would like Thin to be the default instead of WEBrick and to be able to start it with rails s.
Is there a way to set Thin as ...
Auger asked 12/8, 2011 at 23:49
1
Solved
I trying to make an executable, which starts a Sinatra application via Thin as a daemon.
I am using this code to invoke Thin with the Sinatra app:
#!/usr/bin/env ruby
require 'thin'
require 'app....
3
Solved
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/....
Ascites asked 25/4, 2012 at 10:51
1
I have my Thin servers configured with nginx and my ROR app is running on them.
Running thin restart when I release an update to my code introduces some downtime to my application. I was trying t...
Human asked 25/7, 2012 at 20:4
3
My rails application is running on thin server which i want to benchmark using apachebench
the command am using is
ab -n 1 -c 1 http://localhost:3001/welcome/search?query="doctor"&rad=5
B...
Cockerham asked 9/5, 2010 at 12:1
1
I need to test how some elements on my page behave when I access it over HTTPS - I was wondering how I could test this sinatra app locally with HTTPS. I apologize if my question doesn't even make s...
3
This is a newbie question around nginx and thin in the rails environment. In reading/learning on rails I frequently hear about nginx and thin being a great combination for a rails site. In reading ...
Rosenfeld asked 9/9, 2010 at 14:48
1
Solved
I have a rails app I am running on thin server to utilize the EventMachine run loop. The problem is that I would like to be able to include em-websocket to process information coming in from a ws a...
Pulmonary asked 30/4, 2012 at 13:5
0
So I'd like to switch to port 80 in my development environment, but rails server makes this tough.
rvmsudo bundle exec rails server thin -p 80 works fine, but litters my environment with sass cach...
Coerce asked 17/5, 2012 at 16:47
3
Solved
I am using ruby 1.9.3 and rails 3.2.2. Every time i use the thin server with private_pub gem it does not work i did rackup private_pub.ru -s thin -E production. I get the following error
/home/rza...
Ceratodus asked 5/3, 2012 at 19:40
2
Solved
I had a rails 3 app on Nginx/Passenger that I just moved to Nginx/Thin (1.3.1). However, my app is now clearly slower than it was on Passenger. A lot of requests time out too.
Thin is an evented w...
Epiphragm asked 9/5, 2012 at 1:2
2
Solved
I have a thin cluster set up to start 3 servers:
/etc/thin/myapp.yml
...
wait: 30
servers: 3
daemonize: true
...
and the I use thin restart -C /etc/thin/myapp.yml to restart. However, I would l...
Hircine asked 20/10, 2011 at 20:10
© 2022 - 2024 — McMap. All rights reserved.