Wow... There must be hundreds, if not thousands, of groups on Google were religion is the topic. I think you got the wrong group mate...
rubygems & debian/ubuntu dpkg's don't work together well. IMO, the
fault is with gems, but that's another religious war.
To keep the Ubuntu ruby and your development ruby completely separate,
I highly recommend RVM.
Follow the instructions here: http://beginrescueend.com/rvm/install/
from there, installing hobo is simply "gem install hobo --pre".
Bryan
I agree with you. Then it would be adequate to remove the Windows
installation instructions in light of this.
--
Quiliro Ord��ez
09 821 8696
02 340 1517
"No se puede sacrificar la libertad por ning�n bien, por ninguna promesa
de pan o de paz o de justicia, porque ese pan tendr�a amargura de
veneno, esa paz ser�a de muerte, y esa justicia no ser�a justicia humana
ni tendr�a sentido." Alfredo P�rez G.
No! I'm very glad that the Windows instructions are there! There are still many people who are not yet aware of the Windows dangers or the benefit of using Linux. They should become familiar at least with Hobo, even if they have to use Windows. And they should know that Hobo and ROR were designed by people in the Linux community and that the full benefit of ROR and Hobo is best realized on a Linux box. Most of all...when they decide to try using Linux(and they will), it should be easy and painless to get ruby, rails and hobo up and running. And there should be an authoritative place to find that information.
This makes it hard to distribute ruby GUI programs[1]. Luckily there
are very few ruby GUI programs. Which is the chicken, which is the
egg? Instead, Ruby tends to be used to develop web apps and for
development, both of which have requirements different than widespread
software distribution.
For software development, you want to have one or more sandboxes so
you can work on bleeding edge code without breaking all of the other
apps on your system.
For that, the current best practice is RVM installed into the user's
home directories, which a debian package does not do. In other
words, even if rubygems and dpkg were better integrated, you'd be
better off installing via RVM than via apt-get or the Software Center.
Deploying to a server is a different story altogether. The easy
answer there is Heroku.
Bryan
[1] Hard is relative. It's still easier to do than it is on
Windows. And OSX does it wrong, too, but makes different mistakes.
Hobo 1.0 is better tested on 1.8.7, and 1.3 is better tested on 1.9.2,
although both Hobos have been tested on both rubies.
1.0 is also well tested on JRuby 1.6.
So you should be good.
Bryan
2) Follow the single user instructions here:
http://beginrescueend.com/rvm/install/
curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ;
chmod +x rvm-installer ; ./rvm-installer --version latest
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
# Load RVM function' >> ~/.bash_profile
source ~/.bash_profile
3) ask RVM what else you should install
rvm notes
4) do what rvm says is necessary to install 1.9.2
apt-get install build-essential ...
etc.
5) install & use ruby 1.9.2
rvm install 1.9.2
rvm use 1.9.2
6) install hobo and its dependencies
gem install hobo -v 1.3.0.RC1
Bryan
[ -z "$PS1" ] && return
#[ -z "$PS1" ] && return
if [[ -n "$PS1" ]] ; then
fi
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
type rvm | head -1
rvm is a function
You have a point, Bob. But from a beginner's perspective since ruby and rails are absolutely required in order to do anything with Hobo....the problem is still preventing Hobo from working. I'm asking for a script that will lay the foundations for Hobo to be useful with one command.
# 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
sudo apt-get -y update
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 libsqlite3-0 sqlite3 libsqlite3-dev libmysqlclient16-dev libmysqlclient16 imagemagick libmagick9-dev git-core
wget -c ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
tar -xzf ruby-1.9.2-p180.tar.gz
cd ruby-1.9.2-p180
./configure --prefix=/usr/local && make && sudo make install
source ~/.bashrc
sudo gem install bundler sqlite3 passenger hobo --pre --no-ri --no-rdoc
|
|
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
Quiliro,
I'm planning to use this "just for fun" after I reinstall Ubuntu 11.04 on my work machine. Can you please rewrite it slightly for using MySQL as the database?
# 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
sudo apt-get update
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
wget -c ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
tar -xzf ruby-1.9.2-p180.tar.gz
cd ruby-1.9.2-p180
./configure --prefix=/usr/local && make && sudo make install
source ~/.bashrc
sudo gem install bundler passenger hobo --pre --no-ri --no-rdoc
Quiliro,
I'm planning to use this "just for fun" after I reinstall Ubuntu 11.04 on my work machine. Can you please rewrite it slightly for using MySQL as the database?
# 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 sudo apt-get update 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 wget -c ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz tar -xzf ruby-1.9.2-p180.tar.gz cd ruby-1.9.2-p180 ./configure --prefix=/usr/local && make && sudo make install source ~/.bashrc sudo gem install mysql2 -v 0.2.6 sudo gem install rake -v 0.9.2 sudo gem install bundler passenger hobo --pre --no-ri --no-rdoc
After you copy this script, name it hobo.bash and make it executable
(chmod u+x hobo.bash). You should run it with the following command:
./hobo.bash
#!/bin/bash
#
# 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
sudo apt-get -y update
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
wget -c ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
tar -xzf ruby-1.9.2-p180.tar.gz
cd ruby-1.9.2-p180
./configure --prefix=/usr/local&& make&& sudo make install
source ~/.bashrc
sudo gem install mysql2 -v 0.2.6
sudo gem install bundler passenger hobo --pre
--
Quiliro Ord��ez
09 821 8696
02 340 1517
It is the MySQL version.