public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
Fix typos
macournoyer (author)
Tue Jan 01 19:54:11 -0800 2008
commit  26832b9d0178d68d1efca696ce6d571a39ebc29d
tree    ae63039738faa3ccc03e71f80c6baa33e9fa5d54
parent  0745439ef4b5cd0b69f0a6e631cf26ca26991a5b
0
...
1
2
3
4
5
6
 
 
 
 
 
 
7
8
9
10
11
12
13
 
14
15
16
...
20
21
22
23
 
24
25
26
27
28
 
 
 
 
 
 
 
29
30
31
...
1
2
3
 
 
 
4
5
6
7
8
9
10
11
12
13
14
15
 
16
17
18
19
...
23
24
25
 
26
27
28
29
30
 
31
32
33
34
35
36
37
38
39
40
0
@@ -1,16 +1,19 @@
0
 == Thin
0
 Tiny, fast & funny HTTP server
0
 
0
-Thin is a web server written entirely in Ruby in the simplest way possible.
0
-It does as little as possible to serve your Rails application,
0
-which makes it one of the fastest Rails server out there.
0
+Thin is a Ruby web server that glues together 3 of the best Ruby libraries in web history:
0
+ * the Mongrel parser: the root of Mongrel speed and security
0
+ * Event Machine: a network I/O library with extremely high scalability, performance and stability
0
+ * Rack: a minimal interface between webservers and Ruby frameworks
0
+Which makes it, with all humility, the most secure, stable, fast and extensible Ruby web server
0
+bundled in an easy to use gem for your own pleasure.
0
 
0
 === Installation
0
 For the latest stable version:
0
 
0
  sudo gem install thin
0
 
0
-or using my mirror:
0
+or using my mirror (might be more recent):
0
 
0
  sudo gem install thin --source http://code.macournoyer.com
0
 
0
@@ -20,12 +23,18 @@ Or from source:
0
  cd thin
0
  rake install
0
  
0
-Or from the Subversion mirror:
0
+Or from the Subversion mirror (might be out of date):
0
 
0
  svn co http://code.macournoyer.com/svn/thin/trunk thin
0
 
0
 === Usage
0
-Thin is usable through Rack +rackup+ command. You need to setup a config.ru file and require thin in it:
0
+A +thin+ script is offered to easily start your Rails application:
0
+
0
+ cd to/your/rails/app
0
+ thin start
0
+
0
+But Thin is also usable through Rack +rackup+ command.
0
+You need to setup a config.ru file and require thin in it:
0
   
0
  cat <<EOS
0
  require 'thin'
...
39
40
41
42
 
43
44
45
...
56
57
58
59
 
60
61
62
...
39
40
41
 
42
43
44
45
...
56
57
58
 
59
60
61
62
0
@@ -39,7 +39,7 @@ class Thin < Atchoum::Website
0
   
0
   def index_page
0
     h2 'What'
0
- p 'Thin is a Ruby web server that glues togeter 3 of the best Ruby libraries in web history:'
0
+ p 'Thin is a Ruby web server that glues together 3 of the best Ruby libraries in web history:'
0
     ul do
0
       li do
0
         text "the #{a 'Mongrel parser', :href => 'http://www.zedshaw.com/tips/ragel_state_charts.html'}"
0
@@ -56,7 +56,7 @@ class Thin < Atchoum::Website
0
     end
0
     p <<-EOS
0
       Which makes it, with all humility, the most secure, stable, fast and extensible Ruby web server
0
- bundled in an easy to use gem for your own plesure.
0
+ bundled in an easy to use gem for your own pleasure.
0
     EOS
0
     
0
     h2 'Why'

Comments

    No one has commented yet.