diff --git a/README.rdoc b/README.rdoc index 8aa9ccb..e51e774 100644 --- a/README.rdoc +++ b/README.rdoc @@ -39,6 +39,9 @@ and the following LaTeX programs: * isodoc package (>= 1.00) * rubber +It is also possible to use Bundler (which is the default when using +@config.ru@), in this you only need Ruby and Bundler installed. + == Installation For now, Stop… Camping Time! is in a developing state and not ready for diff --git a/config.ru b/config.ru index 00c13b0..b8e09c4 100644 --- a/config.ru +++ b/config.ru @@ -1,9 +1,10 @@ #!/usr/bin/env rackup +require "bundler/setup" require "./stoptime" -StopTime::Models::Base.establish_connection( :adapter => 'sqlite3', - :database => 'db/stoptime.db', - :timeout => 10000 ) +StopTime::Models::Base.establish_connection(adapter: "sqlite3", + database: "db/stoptime.db", + timeout: 10000) StopTime.create run StopTime