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:
* Add Ramaze Rackup config file in example dir [tmm1]
  Use like this from you Ramaze app dir:

    thin start -r /path/to/thin/example/ramaze.ru
macournoyer (author)
Wed Feb 06 19:59:23 -0800 2008
commit  f877d8ba0386b005d30925cd66d1af919ebe7754
tree    712817fd0e0c03cfeb4b3fc3784f7779065b0686
parent  96cade0504318380d5b97b2bbdd9430d0eeb0a83
...
1
 
 
 
 
 
2
3
4
...
1
2
3
4
5
6
7
8
9
0
@@ -1,4 +1,9 @@
0
 == 0.6.3 Ninja Cookie release
0
+ * Add Ramaze Rackup config file in example dir [tmm1]
0
+ Use like this from you Ramaze app dir:
0
+
0
+ thin start -r /path/to/thin/example/ramaze.ru
0
+
0
  * Add the --rackup option to load a Rack config file instead of the Rails adapter.
0
    So you can use any framework with the thin script and start cluster and stuff like that.
0
    A Rack config file is one that is usable through the rackup command and looks like this:
...
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
0
@@ -1 +1,14 @@
0
+# Ramaze Rackup config file.
0
+# by tmm1
0
+# Use with --rackup option:
0
+#
0
+# thin start -r ramaze.ru
0
+#
0
+
0
+require 'start'
0
+
0
+Ramaze.trait[:essentials].delete Ramaze::Adapter
0
+Ramaze.start :force => true
0
+
0
+run Ramaze::Adapter::Base

Comments

    No one has commented yet.