Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 2
- Log:
Initial import of Instiki 0.11.0 sources from a downloaded Tarball.
Instiki is a Ruby On Rails based Wiki clone.
- Author:
- adh
- Date:
- Sat Jul 22 14:54:51 +0100 2006
- Size:
- 807 Bytes
- Properties:
- Property svn:executable is set
1 | #!/usr/bin/env ruby |
2 | irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb' |
3 | |
4 | require 'optparse' |
5 | options = { :sandbox => false, :irb => irb } |
6 | OptionParser.new do |opt| |
7 | opt.on('-s', '--sandbox', 'Rollback database modifications on exit.') { |options[:sandbox]| } |
8 | opt.on("--irb=[#{irb}]", 'Invoke a different irb.') { |options[:irb]| } |
9 | opt.parse!(ARGV) |
10 | end |
11 | |
12 | libs = " -r irb/completion" |
13 | libs << " -r #{File.dirname(__FILE__)}/../config/environment" |
14 | libs << " -r console_sandbox" if options[:sandbox] |
15 | |
16 | ENV['RAILS_ENV'] = ARGV.first || 'development' |
17 | if options[:sandbox] |
18 | puts "Loading #{ENV['RAILS_ENV']} environment in sandbox." |
19 | puts "Any modifications you make will be rolled back on exit." |
20 | else |
21 | puts "Loading #{ENV['RAILS_ENV']} environment." |
22 | end |
23 | exec "#{options[:irb]} #{libs} --prompt-mode simple" |