To use an older version of the rails command:

    For gems with executables ruby installs a wrapper file into the
executable
    directory by deault.  This can be overridden with the --no-
wrappers option.
    The wrapper allows you to choose among alternate gem versions
using
    _version_.

    For example `rake _0.7.3_ --version` will run rake version 0.7.3
if a newer
    version is also installed.

That's from the gem help, never tried it myself.  So you should be
able to do rails _2.2.2_ projectname, although that will mean you'll
have to manually add hobo as a plugin and run the appropriate
generators.  If you go that route, might want to check this -
http://cookbook.hobocentral.net/recipes/4-create-a-new-hobo-app-on for
guidance.

On Mar 6, 3:08 pm, John Wells <[email protected]> wrote:
> On Fri, Mar 6, 2009 at 3:46 PM, davidmathers <[email protected]> wrote:
>
> > On Mar 6, 8:45 am, John Wells <[email protected]> wrote:
>
> >> I already have 2.2.2 installed...changing the environment.rb to use it
> >> gets me no further:
>
> > The application controller generated by rails 2.3 is named
> > "application_controller.rb" and by rails < 2.3 is named
> > "application.rb", so you have to actually generate the app using
> > 2.2.2. Or just rename the application controller. I would  re-generate
> > since there could be other incompatibilities.
>
> Ah...ok.
>
> So is there a way to tell hobo to use a specific version of rails
> without having to remove the 2.3 gem?
>
> Thanks guys.
>
> John
--~--~---------~--~----~------------~-------~--~----~
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