Dear Quiliro, Here is my modified version of the script. It now works perfectly on a clean install of KUbuntu 11.10 and I've also tested it on a system that is "not clean" and have used the command line you contributed to "clean it up". Running the script again also works fine. Now it's up to others to continue testing with other distros. Thanks for your help.
Sincerely, Arthur Baldwin # Copyright (C) 2011 Quiliro Ordусez # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see<http://www.gnu.org/licenses/>. # quiliro [at] fsfla [dot] org # InstantHobo.bash version 0.3 # # This program installs Hobo stable version 1.3 on Trisquel distribution # of the GNU operating system by installing Ruby version 1.9.3-p0 from # source and by using apt-get it installs other binary software packages. # Have fun using and modifying this script. Please send me your updates # so I can share them with others. # Just make a text file named InstantHobo.bash and make it executable by # typing: # sudo chmod +x InstantHobo.bash # Then execute it by typing: # ./InstantHobo.bash # # Note: If you want to remove all gems before running this script, type: # sudo gem list | cut -d" " -f1 | xargs sudo gem uninstall -aIx # Keep hacking! # # Additional Contributions by Arthur E. Baldwin # The lines sudo gem install json, and sudo gem install rdoc must be # included in the same position in order to resolve dependency issues with the gem system. # This necessity may be eliminated as time goes on...when the gem files are fully debugged. # The mysql2.gem file is not designed to properly choose the correct version number, so it # is necessary to include the -v parameter and the desired version number. Otherwise you # will be using this script in vain. # This script has been thoroughly tested on KUbuntu 11.10 (64 bit). I'm leaving it up to others # to test and report their findings on other distros. echo Updating the APT Database... sudo apt-get update echo APT Group installation... sudo apt-get -y install wget curl build-essential bison openssl zlib1g libxslt1.1 libssl-dev libxslt1-dev libxml2 libffi-dev libyaml-dev libxslt-dev autoconf libc6-dev libreadline6-dev zlib1g-dev libcurl4-openssl-dev libmysqlclient16-dev libmysqlclient16 imagemagick libmagick9-dev git-core mysql-server echo WGet Ruby Language... wget -cftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz echo UnZip Ruby Language... tar -xzf ruby-1.9.3-p0.tar.gz echo Change to Ruby Language Directory... cd ruby-1.9.3-p0 echo Configure Ruby Language for Compilation... sudo ./configure --prefix=/usr/local echo Compiling the Ruby Language files... sudo make echo Installing the Ruby Language... sudo make install echo Using new values on the default path source ~/.bashrc echo Using Gem to install json... sudo gem install json echo Using Gem to install RDoc... sudo gem install rdoc echo Using Gem to install MySQL2 driver... sudo gem install mysql2 -v 0.2.18 echo Using Gem to Install Hobo... sudo gem install hobo -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
