Changeset 18761 for lang/ruby/bokeshi/trunk/website/server.rb
- Timestamp:
- 09/03/08 21:30:26 (4 months ago)
- Files:
-
- 1 modified
-
lang/ruby/bokeshi/trunk/website/server.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/bokeshi/trunk/website/server.rb
r18746 r18761 1 1 require "webrick" 2 require "rbconfig" 2 3 3 WEBrick::HTTPServer.new(:DocumentRoot => "./public", 4 :Port => 3000).start 4 options = { 5 :DocumentRoot => "./public", 6 :Port => 3000, 7 } 8 if RUBY_PLATFORM =~ /mswin|cygwin|mingw/ 9 options[:CGIInterpreter] = File.join(RbConfig::CONFIG["bindir"], "ruby.exe") 10 end 11 12 WEBrick::HTTPServer.new(options).start
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)