diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-02-05 05:02:54 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-02-05 05:02:54 +0000 |
commit | 4c36cadd7fef8b4bbdb0f423bdc4b7c7365d5699 (patch) | |
tree | 5e8d5017242f98cf516999e189d0616a479c7b0d /bin | |
parent | for update replace LIKE with '=' ; required by pg8.3 bigint (diff) |
ruby 1.9 open; future pgsql testing on 8.3; encoding utf-8 checks; version bump 0.65.0
* ruby 1.9 use opened, testing required
* db sql pgsql future testing on version 8.3
* encoding utf-8 some compatibility checks
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/sisu | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,9 +1,13 @@ #!/usr/bin/env ruby #SiSU: copyright (C) 1997..2008 Ralph Amissah; License GPL, see appended program information -raise "Please, use Ruby1.8 (1.8.4 or later), current Ruby #{RUBY_VERSION}" if RUBY_VERSION < '1.8.4' or RUBY_VERSION > '1.9' -#raise "Please, use Ruby1.8.4 or later, current Ruby #{RUBY_VERSION}" if RUBY_VERSION < '1.8.4' +raise "Please, use Ruby1.8.4 or later, current Ruby #{RUBY_VERSION}" if RUBY_VERSION < '1.8.4' $VERBOSE=nil -$KCODE='u' +if RUBY_VERSION < '1.9' + $KCODE='u' + TS1='¡' +else + TS1='¡'.force_encoding('utf-8') +end branch='v0' SiSU_lib="sisu/#{branch}" require "#{SiSU_lib}/hub" |