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:
thin config --chrdir ... -C thin/yml do not change current directory 
anymore, fixes #33.
macournoyer (author)
Tue Feb 05 21:02:51 -0800 2008
commit  05459cd94191fbd8d88e78aea0bbbb0210f4d85b
tree    90cf7c7e3dbf2235cfcefe05d6491679e468130c
parent  86ca18a98098c00fe11ef785f77c3d150a8b13a2
...
1
 
2
3
4
...
1
2
3
4
5
0
@@ -1,4 +1,5 @@
0
 == 0.6.3 Ninja Cookie release
0
+ * thin config --chrdir ... -C thin/yml do not change current directory anymore, fixes #33.
0
  * Add a better sample god config file in example/thin.god that loads all info from config
0
    files in /etc/thin [Gump].
0
  * Add support for specifying a custom Connector to the server and a more doc about Server
...
129
130
131
132
 
 
 
133
134
135
...
129
130
131
 
132
133
134
135
136
137
0
@@ -129,7 +129,9 @@
0
       # we store and expand it before changing directory.
0
       Command.script = File.expand_path($PROGRAM_NAME)
0
       
0
- Dir.chdir(@options[:chdir])
0
+ # Change the current directory ASAP so that all relative paths are
0
+ # relative to this one.
0
+ Dir.chdir(@options[:chdir]) unless CONFIGLESS_COMMANDS.include?(@command)
0
       
0
       controller = case
0
       when cluster? then Controllers::Cluster.new(@options)

Comments

    No one has commented yet.