Thanks. I did the 'rake rails:update' after i changed the environment.rb file. Same result. I also did it after uninstalling the 2.3 version of Rails, but same result. I'll see if there is a generate command option to allow you to tell it what generator to use.
On Apr 2, 2:20 pm, Tom Locke <[email protected]> wrote: > Try rake rails:update > > Tom > > On 2 Apr 2009, at 19:17, danman wrote: > > > > > Ok, I can see on my gem list that I have rails 2.2.2. > > My 'environment.rb' file shows "RAILS_GEM_VERSION = '1.2.3' unless > > defined? RAILS_GEM_VERSION". > > If I edit that file to say '2.2.2' instead and run the hobo_migration, > > I get different errors: > > C:\iefeqa\genarch2>ruby script\generate hobo_migration > > > ******************************************************************* > > * config.breakpoint_server has been deprecated and has no > > effect. * > > > ******************************************************************* > > > c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in > > `send': und > > efined method `cache_template_extensions=' for ActionView::Base:Class > > (NoMethodE > > rror) > > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > > initializer.rb:530:i > > n `initialize_framework_settings' > > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > > initializer.rb:529:i > > n `each' > > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > > initializer.rb:529:i > > I'm not sure if those errors are better than the 'generator not found' > > but, still seems unexpected. > > Any other ideas to try? > > Thanks. > > > On Apr 2, 1:45 pm, Frode Marton Meling <[email protected]> wrote: > >> You do not have to remove rails 2.3, you just need to install 2.2.2 > >> and make sure your rails config points to version 2.2.2. > > >> You can have multiple installations of rails-version at the same time > > >> /Frode > >> On Apr 2, 2009, at 7:27 PM, danman wrote: > > >>> I dropped all the 2.3 gems I could find however, i still get the > >>> same > >>> error. When you said Rails 2.2, is that the same as Rails 2.2.2? > >>> Here is my list of gems: > >>> actionmailer (2.2.2, 1.3.3) > >>> actionpack (2.2.2, 1.13.3) > >>> actionwebservice (1.2.3) > >>> activerecord (2.2.2, 1.15.3) > >>> activeresource (2.2.2) > >>> activesupport (2.2.2, 1.4.2) > >>> acts_as_ferret (0.4.3) > >>> cheat (1.2.1) > >>> fxri (0.3.6) > >>> fxruby (1.6.6) > >>> gruff (0.3.1) > >>> hobofields (0.8.5) > >>> hobosupport (0.8.5) > >>> hoe (1.5.3) > >>> hpricot (0.4) > >>> log4r (1.0.5) > >>> mislav-will_paginate (2.3.8) > >>> mysql (2.7.3) > >>> railroad (0.5.0) > >>> rails (2.2.2, 1.2.3) > >>> rake (0.8.4, 0.8.1, 0.7.2) > >>> rgl (0.2.3) > >>> rmagick (1.15.9) > >>> ruby-graphviz (0.8.0) > >>> rubyforge (1.0.0) > >>> rubygems-update (1.3.1, 0.9.4) > >>> rubyshop (0.0.2) > >>> sources (0.0.1) > >>> stream (0.5) > >>> win32-clipboard (0.4.1) > >>> win32-dir (0.3.1) > >>> win32-eventlog (0.4.3) > >>> win32-file (0.5.3) > >>> win32-file-stat (1.2.3) > >>> win32-process (0.5.1) > >>> win32-sapi (0.1.3) > >>> win32-sound (0.4.0) > >>> windows-pr (0.6.2) > >>> Thanks. > > >>> On Mar 31, 12:39 pm, Scott Bronson <[email protected]> wrote: > >>>> Unfortunately Hobo isn't compatible with Rails 2.3 yet. If you > >>>> install Rails 2.2 (I think some instructions are in the list > >>>> archives), it should work. > > >>>> On Tue, Mar 31, 2009 at 6:24 AM, danman <[email protected]> > >>>> wrote: > > >>>>> Hello, > >>>>> any ideas why my setup cannot find the generator? I deleted all > >>>>> my db > >>>>> tables and migrations for an existing project since I want to move > >>>>> to > >>>>> 'hobo fields'. I have all my models now setup but, cannot run the > >>>>> migration. > > >>>>> C:\iefeqa\genarch2>ruby script\generate hobo_migration > >>>>> ./script/../config/boot.rb:26:Warning: Gem::SourceIndex#search > >>>>> support > >>>>> for Strin > >>>>> g patterns is deprecated > >>>>> :0:Warning: Gem::SourceIndex#search support for Regexp patterns is > >>>>> deprecated > >>>>> Couldn't find 'hobo_migration' generator > > >>>>> Looks like it is installed fine: > >>>>> C:\iefeqa\genarch2>gem list --local > > >>>>> *** LOCAL GEMS *** > > >>>>> actionmailer (2.3.2, 2.2.2, 1.3.3) > >>>>> actionpack (2.3.2, 2.2.2, 1.13.3) > >>>>> actionwebservice (1.2.3) > >>>>> activerecord (2.3.2, 2.2.2, 1.15.3) > >>>>> activeresource (2.3.2, 2.2.2) > >>>>> activesupport (2.3.2, 2.2.2, 1.4.2) > >>>>> acts_as_ferret (0.4.3) > >>>>> cheat (1.2.1) > >>>>> fxri (0.3.6) > >>>>> fxruby (1.6.6) > >>>>> gruff (0.3.1) > >>>>> hobofields (0.8.5) > >>>>> hobosupport (0.8.5) > > >>>>> Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
