From 7fd1f26269d3300d1a754ec7bc253733c4eb5008 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 13 Mar 2012 21:56:06 -0400 Subject: debian/bin/sisu* enable (commands on) --dev (v3dv branch) --- debian/bin/sisu | 17 +++++------------ debian/bin/sisu2 | 13 +++---------- debian/bin/sisu3 | 17 +++++------------ debian/bin/sisu_termsheet | 6 +++--- debian/bin/sisu_webrick | 6 +++--- 5 files changed, 19 insertions(+), 40 deletions(-) diff --git a/debian/bin/sisu b/debian/bin/sisu index 473c18ce..857cafbe 100644 --- a/debian/bin/sisu +++ b/debian/bin/sisu @@ -1,6 +1,6 @@ #! /usr/bin/ruby1.9.1 # encoding: utf-8 -#SiSU: copyright (C) 1997 - 2011 Ralph Amissah; License GPL, see appended program information +#SiSU: copyright (C) 1997 - 2012 Ralph Amissah; License GPL, see appended program information begin def ruby_version_ok?(base_version) @v ||=RUBY_VERSION.scan(/\d+/) @@ -53,7 +53,7 @@ WOK 'v3' when /--dev/ check_sisu_dev_ruby_version? - 'v3' + 'v3dv' else check_sisu_stable_ruby_version? 'v3' @@ -79,15 +79,8 @@ rescue system RUBYLIB: ${RUBYLIB} "}) puts %{ - On a Debian system the following system commands may help set the default version of ruby to 1.9.2: - sudo update-alternatives --verbose --set ruby /usr/bin/ruby1.9.1 - export RUBYPATH='/usr/local/bin:/usr/bin' - export RUBYLIB='/usr/local/lib/site_ruby/1.9.1:/usr/lib/ruby/1.9.1:/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/1.8' - - To return to ruby 1.8 (not suitable for sisu): - sudo update-alternatives --verbose --set ruby /usr/bin/ruby1.8 - export RUBYPATH='/usr/local/bin' - export RUBYLIB='/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/1.8:/usr/local/lib/site_ruby/1.9.1:/usr/lib/ruby/1.9.1' + On a Debian system to switch the version of ruby to >=1.9.2 see: + http://wiki.debian.org/Ruby } end __END__ @@ -99,7 +92,7 @@ __END__ * Author: Ralph Amissah * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011 Ralph Amissah All Rights Reserved. + 2007, 2008, 2009, 2010, 2011, 2012 Ralph Amissah All Rights Reserved. * License: GPL 3 or later: diff --git a/debian/bin/sisu2 b/debian/bin/sisu2 index 473c18ce..6c916b18 100644 --- a/debian/bin/sisu2 +++ b/debian/bin/sisu2 @@ -53,7 +53,7 @@ WOK 'v3' when /--dev/ check_sisu_dev_ruby_version? - 'v3' + 'v3dv' else check_sisu_stable_ruby_version? 'v3' @@ -79,15 +79,8 @@ rescue system RUBYLIB: ${RUBYLIB} "}) puts %{ - On a Debian system the following system commands may help set the default version of ruby to 1.9.2: - sudo update-alternatives --verbose --set ruby /usr/bin/ruby1.9.1 - export RUBYPATH='/usr/local/bin:/usr/bin' - export RUBYLIB='/usr/local/lib/site_ruby/1.9.1:/usr/lib/ruby/1.9.1:/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/1.8' - - To return to ruby 1.8 (not suitable for sisu): - sudo update-alternatives --verbose --set ruby /usr/bin/ruby1.8 - export RUBYPATH='/usr/local/bin' - export RUBYLIB='/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/1.8:/usr/local/lib/site_ruby/1.9.1:/usr/lib/ruby/1.9.1' + On a Debian system to switch the version of ruby to >=1.9.2 see: + http://wiki.debian.org/Ruby } end __END__ diff --git a/debian/bin/sisu3 b/debian/bin/sisu3 index 473c18ce..857cafbe 100644 --- a/debian/bin/sisu3 +++ b/debian/bin/sisu3 @@ -1,6 +1,6 @@ #! /usr/bin/ruby1.9.1 # encoding: utf-8 -#SiSU: copyright (C) 1997 - 2011 Ralph Amissah; License GPL, see appended program information +#SiSU: copyright (C) 1997 - 2012 Ralph Amissah; License GPL, see appended program information begin def ruby_version_ok?(base_version) @v ||=RUBY_VERSION.scan(/\d+/) @@ -53,7 +53,7 @@ WOK 'v3' when /--dev/ check_sisu_dev_ruby_version? - 'v3' + 'v3dv' else check_sisu_stable_ruby_version? 'v3' @@ -79,15 +79,8 @@ rescue system RUBYLIB: ${RUBYLIB} "}) puts %{ - On a Debian system the following system commands may help set the default version of ruby to 1.9.2: - sudo update-alternatives --verbose --set ruby /usr/bin/ruby1.9.1 - export RUBYPATH='/usr/local/bin:/usr/bin' - export RUBYLIB='/usr/local/lib/site_ruby/1.9.1:/usr/lib/ruby/1.9.1:/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/1.8' - - To return to ruby 1.8 (not suitable for sisu): - sudo update-alternatives --verbose --set ruby /usr/bin/ruby1.8 - export RUBYPATH='/usr/local/bin' - export RUBYLIB='/usr/local/lib/site_ruby/1.8:/usr/lib/ruby/1.8:/usr/local/lib/site_ruby/1.9.1:/usr/lib/ruby/1.9.1' + On a Debian system to switch the version of ruby to >=1.9.2 see: + http://wiki.debian.org/Ruby } end __END__ @@ -99,7 +92,7 @@ __END__ * Author: Ralph Amissah * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011 Ralph Amissah All Rights Reserved. + 2007, 2008, 2009, 2010, 2011, 2012 Ralph Amissah All Rights Reserved. * License: GPL 3 or later: diff --git a/debian/bin/sisu_termsheet b/debian/bin/sisu_termsheet index 8950d2c2..03d68cca 100644 --- a/debian/bin/sisu_termsheet +++ b/debian/bin/sisu_termsheet @@ -1,6 +1,6 @@ #! /usr/bin/ruby1.9.1 # encoding: utf-8 -#SiSU: copyright (C) 1997 - 2011 Ralph Amissah; License GPL, see appended program information +#SiSU: copyright (C) 1997 - 2012 Ralph Amissah; License GPL, see appended program information begin def ruby_version_ok?(base_version) @v ||=RUBY_VERSION.scan(/\d+/) @@ -52,7 +52,7 @@ WOK 'v3' when /--dev/ check_sisu_dev_ruby_version? - 'v3' + 'v3dv' else check_sisu_stable_ruby_version? 'v3' @@ -98,7 +98,7 @@ __END__ * Author: Ralph Amissah * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011 Ralph Amissah All Rights Reserved. + 2007, 2008, 2009, 2010, 2011, 2012 Ralph Amissah All Rights Reserved. * License: GPL 3 or later: diff --git a/debian/bin/sisu_webrick b/debian/bin/sisu_webrick index 1083ebb4..a861269d 100644 --- a/debian/bin/sisu_webrick +++ b/debian/bin/sisu_webrick @@ -1,6 +1,6 @@ #! /usr/bin/ruby1.9.1 # encoding: utf-8 -#SiSU: copyright (C) 1997 - 2011 Ralph Amissah; License GPL, see appended program information +#SiSU: copyright (C) 1997 - 2012 Ralph Amissah; License GPL, see appended program information begin def ruby_version_ok?(base_version) @v ||=RUBY_VERSION.scan(/\d+/) @@ -52,7 +52,7 @@ WOK 'v3' when /--dev/ check_sisu_dev_ruby_version? - 'v3' + 'v3dv' else check_sisu_stable_ruby_version? 'v3' @@ -98,7 +98,7 @@ __END__ * Author: Ralph Amissah * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011 Ralph Amissah All Rights Reserved. + 2007, 2008, 2009, 2010, 2011, 2012 Ralph Amissah All Rights Reserved. * License: GPL 3 or later: -- cgit v1.2.3