mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-11 01:44:23 +01:00
* Upgraded to use Rails 0.10.0
* Changed require of Redcloth to favour gem version of version 3.0.3 or greater * Changed the way that URLs are generated for stylesheets and javascripts by using AssetTagHelper git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@28 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
2f182327e8
commit
de31b57852
23 changed files with 804 additions and 185 deletions
|
|
@ -5,7 +5,7 @@ require 'optparse'
|
|||
|
||||
OPTIONS = {
|
||||
:port => 3000,
|
||||
:ip => "127.0.0.1",
|
||||
:ip => "0.0.0.0",
|
||||
:environment => "development",
|
||||
:server_root => File.expand_path(File.dirname(__FILE__) + "/../public/"),
|
||||
:server_type => WEBrick::SimpleServer
|
||||
|
|
@ -45,5 +45,7 @@ ENV["RAILS_ENV"] = OPTIONS[:environment]
|
|||
require File.dirname(__FILE__) + "/../config/environment"
|
||||
require 'webrick_server'
|
||||
|
||||
OPTIONS['working_directory'] = File.expand_path(RAILS_ROOT)
|
||||
|
||||
puts "=> Rails application started on http://#{OPTIONS[:ip]}:#{OPTIONS[:port]}"
|
||||
DispatchServlet.dispatch(OPTIONS)
|
||||
DispatchServlet.dispatch(OPTIONS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue