aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-10-28 20:37:21 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-10-28 20:37:21 +0000
commit1832447fb6d40fbfb695896ff6a9c511e8405f7f (patch)
treedb14293dd4df04a84a45cc98a169a08829f60d48 /railties/bin
parent927b847239ede8cb455366b95e640a25d92a2b8e (diff)
downloadrails-1832447fb6d40fbfb695896ff6a9c511e8405f7f.tar.gz
rails-1832447fb6d40fbfb695896ff6a9c511e8405f7f.tar.bz2
rails-1832447fb6d40fbfb695896ff6a9c511e8405f7f.zip
You've been down that road, Neo. You know where it ends. And I know it's not where you want to be.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/bin')
-rw-r--r--railties/bin/lighttpd11
1 files changed, 2 insertions, 9 deletions
diff --git a/railties/bin/lighttpd b/railties/bin/lighttpd
index 3220b16925..b4cbe53d8a 100644
--- a/railties/bin/lighttpd
+++ b/railties/bin/lighttpd
@@ -1,10 +1,3 @@
#!/usr/local/bin/ruby
-
-if RUBY_PLATFORM !~ /mswin/ && `lighttpd -version 2>/dev/null`.size > 0
- puts "=> Rails application started on http://0.0.0.0:3000"
- puts "=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)"
-
- `lighttpd -D -f #{File.dirname(__FILE__) + "/../"}/config/lighttpd.conf`
-else
- puts "lighttpd is not available on your system"
-end \ No newline at end of file
+require File.dirname(__FILE__) + '/../config/boot'
+require 'commands/lighttpd' \ No newline at end of file