Then there's a problem with the script!  I've tried using rvm and "not using 
it" via the script...and neither way works right.  Since using rvm now it tells 
me that it can't find the mysql gem and to "bundle install" but that command 
won't run.

I'm beginning to think that nobody has ever done a thorough job of documenting 
the best install method.

Arthur



________________________________
From: Bob Sleys <[email protected]>
To: [email protected]
Cc: Arthur Baldwin <[email protected]>
Sent: Thursday, August 4, 2011 11:53 AM
Subject: Re: [Hobo Users] Re: Little Problem - No Wizard


If you used the script from the previous posts it doesn't use RVM and instead 
installed ruby/rails on the system directly and thus you don't need to change 
your .bashrc file.

However if you do wish to use RVM then you will need to modify your .bashrc 
file.  Here is a quick rundown on how to get RVM installed in Ubunutu.

1. install the base stuff (first two lines from the script (copied below, note 
I added sqlite3 so you'll have both mysql and sqlite3 available)
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-sever sqlite3 libsqlite3-dev

2. Follow the instructions at https://rvm.beginrescueend.com/rvm/install/ and 
do a single user for developer install.  At step 2 come back and pick this up.

3. edit your .bashrc as follows.

at line 6 (or there about, ie right up top) you'll see the line 
[ -z "$PS1" ] && returnYou want to comment it out by putting a # in front of it 
and then add the following line
if [[ -n "$PS1" ]] ; then
It will end up looking like this
#[ -z "$PS1" ] && return
>if [[ -n "$PS1" ]] ; then 
Now at the very end of the file add this
fi
>[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load 
>RVM into a shell session *as a function* 
You should be all set. To test it out start a new command prompt (what you've 
been using so far doesn't have your changes and at that new command prompt you 
can run the test step #3 from the RVM installation guide.

If all goes well you are ready to install ruby, rails and hobo.

First you need a ruby so do the following at a command prompt
rvm install 1.9.2
or use 1.8.7 (whatever ruby version you wish, use rvm list known to see a full 
list of rubies rvm will install)

Now that you have a ruby tell rvm to use it
rvm use 1.9.2
Ok lets create a gemset in rvm to hold our gems for hobo (not it's not 100% 
required but does make life easier)
rvm gemset create hobo
>rvm gemset use hobo 
And now you can install rails and hobo in one step
gem install hobo --pre
 You'll have a working install of hobo inside a rvm gemset.  Just be sure to 
activate that gemset each time via "rvm use 1.9.2@hobo"

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/8f8bxLYhXFMJ.
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.

-- 
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.

Reply via email to