I am new to ruby, homebrew, rails, hobo and I had the following error:

"The template 
[/var/folders/pv/l83x7szx75584bzl_syd21mw0000gn/T/hobo_app_template] could 
not be loaded. Error: Unable to activate rails-3.2.13, because 
activesupport-4.0.0 conflicts with activesupport (= 3.2.13), 
actionpack-4.0.0 conflicts with actionpack (= 3.2.13), railties-4.0.0 
conflicts with railties (= 3.2.13)"

I found that it was an issue with the hobo "new" command wanting to use the 
global ruby version with the associated gems as opposed the locally set 
version.

I am using rbenv (https://github.com/sstephenson/rbenv) with ruby 
2.0.0-p247 as the global/primary version and ruby 2.0.0-p195 to have a 
development environment for hobo.

To solve this, I created a Hobo directory, set the rbenv local version to 
my hobo ruby 2.0.0-p195 and then ran the hobo new command which ran with 
ruby 2.0.0-p195 and the associated gems. For example:

$ mkdir rails_projects/hobo
$ cd rails_projects/hobo
$ rbenv local 2.0.0-p195
$ gem install hobo
$ hobo new thingybob

I used the Zero Sharp blog 
(http://blog.zerosharp.com/installing-ruby-with-homebrew-and-rbenv-on-mac-os-x-mountain-lion/)
 
to install ruby with homebrew and rbenv on Mac OS-X Mountain Lion.

HTH

Foggy City

On Thursday, December 20, 2012 5:37:32 AM UTC+8, Matt jones wrote:
>
>
> On Dec 19, 2012, at 12:40 PM, Donald Ziesig wrote: 
>
> > Bundler could not find compatible versions for gem "actionpack": 
> >  In Gemfile: 
> >    hobo (= 1.3.0) ruby depends on 
> >      actionpack (~> 3.0.0) ruby 
> > 
> >    rails (= 3.2.9) ruby depends on 
> >      actionpack (3.2.9) 
> > 
> > Suggestions please, 
>
> For Rails 3.2, you'll need the latest 2.0pre; lots of Rails internals 
> moved around between 3.0 and 3.2, breaking all our monkey-patches. :) 
>
> --Matt Jones 
>
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to