We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Rubygem
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Click here to lend your support to: thin and make a donation at www.pledgie.com !
macournoyer (author)
Thu Jan 17 19:55:04 -0800 2008
commit  bc601ce1a4f4e42e19b77d9574f7fdebae4b15e7
tree    41963326771eba4ab6aece11a238325d3c3810aa
parent  ca716970ee03dc0ed94bda0e4dc83b8a0bf0cb9d
thin / tasks / email.erb
100644 56 lines (40 sloc) 2.206 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Hey all,
 
Version <%= Thin::VERSION::STRING %> (codename <%= Thin::VERSION::CODENAME %>) of the fastest Ruby server is out!
 
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.
 
== What's new?
 
* Add cluster support through the -s option in the thin script, start 3 thins like this:
   thin start -s3 -p3000
  3 thin servers will be started on port 3000, 3001, 3002, also the port number will be
  injected in the pid and log filenames.
* Fix IOError when writing to logger when starting server as a daemon.
* Really change directory when the -c option is specified.
* Add restart command to thin script.
* Fix typos in thin script usage message and expand chdir path.
* Rename thin script options to be the same as mongrel_rails script [thronedrk]:
    -o --host => -a --address
    --log-file => --log
    --pid-file => --pid
    --env => --environment
 
win32 support is coming soon!
 
== Get it!
 
 sudo gem install thin
 
Might take some time for the gem mirrors to be updated, try adding
--source http://code.macournoyer.com to the command if it doesn't work
 
If you installed a previous alpha version (if you have 0.5.2 already installed)
uninstall it before: sudo gem uninstall thin
 
WARNING:
Thin is still alpha software, if you use it on your server you understand the
risks that are involved.
 
== Contribute
 
If you're using Thin, let me know and I'll put your site on http://code.macournoyer.com/thin/users/
 
Thin is driven by an active community of passionate coders and benchmarkers. Please join us, contribute
or share some ideas in Thin Google Group: http://groups.google.com/group/thin-ruby/topics
 
Also on IRC: #thin on freenode
 
Thanks to all the people who contributed to Thin, EventMachine, Rack and Mongrel.
 
Marc-Andre Cournoyer
http://code.macournoyer.com/thin/