Little Problem - No Wizard

26 views
Skip to first unread message

Arthur Baldwin

unread,
Aug 3, 2011, 2:03:17 PM8/3/11
to Hobo Users
Hi guys,

One little problem persists...after using the install script, and issuing the command: "hobo new TCO -d mysql"

The files and directories are generated, but the wizard never starts.  Do I need to do an update of some kind?

Arthur

Bob Sleys

unread,
Aug 3, 2011, 2:40:16 PM8/3/11
to hobo...@googlegroups.com, Arthur Baldwin
do a "hobo -h" at the command prompt.  It should display the version number on the first line of output.  The wizard was introduced in version 1.3.

Arthur Baldwin

unread,
Aug 3, 2011, 3:49:18 PM8/3/11
to hobo...@googlegroups.com
Here is the output:

Hobo Command Line Interface 1.3.0.pre31

typing rvm --version results in:

No command 'rvm' found, but there are 19 similar ones
rvm: command not found

Arthur

From: Bob Sleys <bsl...@gmail.com>
To: hobo...@googlegroups.com
Cc: Arthur Baldwin <eeng...@yahoo.com>
Sent: Wednesday, August 3, 2011 11:40 AM
Subject: [Hobo Users] Re: Little Problem - No Wizard

do a "hobo -h" at the command prompt.  It should display the version number on the first line of output.  The wizard was introduced in version 1.3. --
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/-/uxx5T-e1jEcJ.
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.


Arthur Baldwin

unread,
Aug 4, 2011, 1:54:28 PM8/4/11
to hobo...@googlegroups.com
This problem is persisting on two different machines, even after a fresh install of Ubuntu 11.04 64 bit.  I think it has to do with changing the contents of .bashrc file, but I'm not sure how to do it.  Can someone please help me?  Actually I was hoping that there might be a way to automatically modify .bashrc from within the recently designed script for hobo installation.  Maybe that's too complicated...but its worth a try.


From: Arthur Baldwin <eeng...@yahoo.com>
To: "hobo...@googlegroups.com" <hobo...@googlegroups.com>
Sent: Wednesday, August 3, 2011 12:49 PM
Subject: Re: [Hobo Users] Re: Little Problem - No Wizard

Bob Sleys

unread,
Aug 4, 2011, 2:53:05 PM8/4/11
to hobo...@googlegroups.com, Arthur Baldwin
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" ] && return
You 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"

Arthur Baldwin

unread,
Aug 4, 2011, 3:35:37 PM8/4/11
to hobo...@googlegroups.com
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 <bsl...@gmail.com>
To: hobo...@googlegroups.com
Cc: Arthur Baldwin <eeng...@yahoo.com>
Sent: Thursday, August 4, 2011 11:53 AM

Subject: Re: [Hobo Users] Re: Little Problem - No Wizard
--
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.

Quiliro Ordóñez

unread,
Aug 4, 2011, 3:48:30 PM8/4/11
to hobo...@googlegroups.com
El 03/08/11 13:03, Arthur Baldwin escribió:
Hi guys,

One little problem persists...after using the install script, and issuing the command: "hobo new TCO -d mysql"

The files and directories are generated, but the wizard never starts.  Do I need to do an update of some kind?


Please copy the messages that come out upon issuing the command "hobo new TCO -d mysql"
--
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.

Arthur Baldwin

unread,
Aug 4, 2011, 3:56:35 PM8/4/11
to hobo...@googlegroups.com
Ok, now it's working...but I don't know why it's working...and that really bothers me.  I wish I knew that doing things one and ONLY one way would ALWAYS work on every machine that is running Ubuntu 11.04.  That still has not been nailed down yet.


From: Quiliro Ordóñez <qui...@gmail.com>
To: hobo...@googlegroups.com
Sent: Thursday, August 4, 2011 12:48 PM
Subject: Re: [Hobo Users] Little Problem - No Wizard

--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.

Quiliro Ordóñez

unread,
Aug 4, 2011, 6:19:25 PM8/4/11
to hobo...@googlegroups.com
El 04/08/11 14:56, Arthur Baldwin escribió:
Ok, now it's working...but I don't know why it's working...and that really bothers me.  I wish I knew that doing things one and ONLY one way would ALWAYS work on every machine that is running Ubuntu 11.04.  That still has not been nailed down yet.


A clean installation and the messages displayed is needed so the bug is found. If that is not documented, everything looks like black magic and is unpredictable. Otherwise, it always works the same way. Computer science is as exact as anything can be. ;-)

Arthur Baldwin

unread,
Aug 4, 2011, 6:38:23 PM8/4/11
to hobo...@googlegroups.com
OK...you asked for it...at home I will do it yet again and use the command:

./InstantHobo.bash >> ScriptOutput.log

I renamed hobo.bash to InstantHobo.bash

then I will send you the script file, the log file, and a copy of the error messages I get after the install.

There are some worrisome indications during the script based installation.

Arthur


From: Quiliro Ordóñez <qui...@gmail.com>
To: hobo...@googlegroups.com
Sent: Thursday, August 4, 2011 3:19 PM

Subject: Re: [Hobo Users] Little Problem - No Wizard

Quiliro Ordóñez

unread,
Aug 4, 2011, 9:15:51 PM8/4/11
to hobo...@googlegroups.com
El 04/08/11 17:38, Arthur Baldwin escribió:
OK...you asked for it...at home I will do it yet again and use the command:

./InstantHobo.bash >> ScriptOutput.log

I renamed hobo.bash to InstantHobo.bash

then I will send you the script file, the log file, and a copy of the error messages I get after the install.

There are some worrisome indications during the script based installation.

Thanks!

Owen

unread,
Aug 5, 2011, 10:17:50 AM8/5/11
to Hobo Users
You may want to ping the good Engine Yard folks who support
Railsinstaller.org

http://railsinstaller.org/

They did a great job on the Windows version. Need a nudge for Linux.

-Owen


On Aug 4, 9:15 pm, Quiliro Ordóñez <quil...@gmail.com> wrote:
> El 04/08/11 17:38, Arthur Baldwin escribi�:
>
> > OK...you asked for it...at home I will do it yet again and use the
> > command:
>
> > ./InstantHobo.bash >> ScriptOutput.log
>
> > I renamed hobo.bash to InstantHobo.bash
>
> > then I will send you the script file, the log file, and a copy of the
> > error messages I get after the install.
>
> > There are some worrisome indications during the script based installation.
>
> Thanks!
> --
> 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.
Reply all
Reply to author
Forward
0 new messages