Does 1.3.0.RC report as 1.3.0.pre31?

16 views
Skip to first unread message

paulj...@gmail.com

unread,
Jun 3, 2011, 5:51:34 PM6/3/11
to Hobo Users
I installed the Hobo RC:

sudo gem install hobo -v 1.3.0.RC --pre

and when I then

hobo

I get:

Hobo Command Line Interface 1.3.0.pre31
...

Is that correct? Any other test I can run to be sure I have the right
version?

Thanks all!

paulj...@gmail.com

unread,
Jun 3, 2011, 6:32:41 PM6/3/11
to Hobo Users
Inspecting the source, I see that the version should be reported based
on hobo_support/VERSION, so it looks like I am finding the wrong
executable.

Any ideas about what I need to do to get the 1.3.0.RC version to
activate?

On Jun 3, 2:51 pm, "pauljda...@gmail.com" <pauljda...@gmail.com>
wrote:

Domizio Demichelis

unread,
Jun 3, 2011, 6:47:13 PM6/3/11
to hobo...@googlegroups.com
remove the pre31

ciao
dd

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


ylluminate

unread,
Jun 23, 2011, 2:55:43 PM6/23/11
to Hobo Users
This is interesting. I'm beating my head into the wall on this one.
I `gem uninstall`d each hobo pre + dryml pre and interestingly every
time I try to recreate my project overtop of the old, it gripes about
needing pre. I rm'd the Gemfile.lock and cannot find any other
references to the pre release version anywhere in the project, but it
keeps coming back. Why in the world would bundler keep resurrecting
by installation the hobo pre rc versions each time?


On Jun 3, 6:47 pm, Domizio Demichelis <dd.ne...@gmail.com> wrote:
> remove the pre31
>
> ciao
> dd
>
> On Fri, Jun 3, 2011 at 6:32 PM, pauljda...@gmail.com
> <pauljda...@gmail.com>wrote:

Domizio Demichelis

unread,
Jun 23, 2011, 3:04:25 PM6/23/11
to hobo...@googlegroups.com
How did you add the hobo gem in the Gemfile?
Besides, if you just create a new app, is it the RC?

ciao
dd

ylluminate

unread,
Jun 23, 2011, 3:12:06 PM6/23/11
to Hobo Users
I did not add the hobo gem to the Gemfile. I left it as the hobo
wizard set it:
gem "hobo", ">= 1.3.0.RC"

I originally created it with, what I had understood, to be the RC.
But then after a bit I noticed that the hobo command was running the
pre31. I proceeded to gem install pre31 again and then rerun `hobo
new MY_PROJECT --wizard` and overwrote appropriate files. I also
removed the Gemfile.lock. The wizard would then crash out with:
"Could not find hobo_support-1.3.0.pre31 in any of the sources"

I finally just gutted it and started from scratch and it is now
installing and not showing the RC again... but something is indeed not
clean about this. It really concerns me, in particular, for when
updates are released and I want to get the project updated to anything
that perhaps should be updated.


-George

ylluminate

unread,
Jun 23, 2011, 3:36:37 PM6/23/11
to Hobo Users
Holy cow. pre31 just came back. I thought everything was fine, but
noticed some odd things happening with bundler in RubyMine so I jumped
to the shell and ran `bundle update` and lo and behold:
...
Using rails (3.0.9)
Installing hobo_support (1.3.0.pre31)
Installing dryml (1.3.0.pre31)
Installing hobo_fields (1.3.0.pre31)
Using will_paginate (3.0.pre2)
Installing hobo (1.3.0.pre31)
...

What in the world could be going on here? This is most certainly not
right and I have no clue as to how this keeps rearing its ugly little
head.

Bob Sleys

unread,
Jun 24, 2011, 11:32:16 AM6/24/11
to hobo...@googlegroups.com
change the 

gem "hobo", ">= 1.3.0.RC" 

to

gem "hobo", "1.3.0.RC" 

The pre versions are being seen as > the RC version so just force it to use the RC version and when the full is released change it to ">= 1.3.0"

Bob

ylluminate

unread,
Jun 24, 2011, 4:53:29 PM6/24/11
to Hobo Users
That did indeed fix the problem, thanks Bob. Appears the >= being
added was a mistake by the generator or just a preparatory step for
the final release, not realizing it would bugger things up during RC
for some folks.

Domizio Demichelis

unread,
Jun 24, 2011, 6:40:33 PM6/24/11
to hobo...@googlegroups.com
The rails 3 (bundler) trend is locking the used gems, and for obvious reasons.
I have changed the ">=" for "=" and pushed it to the rails3 branch.

ciao
dd

--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
Reply all
Reply to author
Forward
0 new messages