you will find these settings in the environment files within the config folder They may be remnants from your earlier attempts.
they should be removed. You might try rake rails:update:configs to reset configs to something usable. On Apr 7, 6:06 pm, danman <[email protected]> wrote: > I uninstalled the hobo_fields gem, reinstalled it, and changed my > environment.rb to use rails 2.2.2. > Next ran the rake rails:update. > Finally running generate hobo_migration returns: > 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 > n `initialize_framework_settings' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > initializer.rb:526:i > n `each' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > initializer.rb:526:i > n `initialize_framework_settings' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > initializer.rb:154:i > n `process' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > initializer.rb:112:i > n `send' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ > initializer.rb:112:i > n `run' > from C:/iefeqa/genarch2/config/environment.rb:14 > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `ge > m_original_require' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `re > quire' > from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/ > generate.rb > :1 > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `ge > m_original_require' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `re > quire' > from script/generate:3 > > Any suggestions? > > On Apr 6, 9:37 am, danman <[email protected]> wrote: > > > The gem version shows '1.3.1'. Do you think that needs to be updated? > > gem out returns: > > C:\iefeqa\genarch2>gem out > > actionmailer (2.2.2 < 2.3.2) > > actionpack (2.2.2 < 2.3.2) > > actionwebservice (1.2.3 < 1.2.6) > > activerecord (2.2.2 < 2.3.2) > > activeresource (2.2.2 < 2.3.2) > > activesupport (2.2.2 < 2.3.2) > > fxri (0.3.6 < 0.3.7) > > fxruby (1.6.6 < 1.6.19) > > gruff (0.3.1 < 0.3.4) > > hoe (1.5.3 < 1.12.1) > > hpricot (0.4 < 0.8.1) > > rails (2.2.2 < 2.3.2) > > rgl (0.2.3 < 0.4.0) > > rmagick (1.15.9 < 2.9.1) > > ruby-graphviz (0.8.0 < 0.9.0) > > rubyforge (1.0.0 < 1.0.3) > > win32-clipboard (0.4.1 < 0.4.4) > > win32-dir (0.3.1 < 0.3.3) > > win32-eventlog (0.4.3 < 0.5.0) > > win32-file (0.5.3 < 0.6.1) > > win32-file-stat (1.2.3 < 1.3.3) > > win32-process (0.5.1 < 0.6.0) > > win32-sapi (0.1.3 < 0.1.4) > > win32-sound (0.4.0 < 0.4.1) > > windows-pr (0.6.2 < 1.0.2) > > > thanks for the help. > > > On Apr 4, 5:46 pm, tmorgan99 <[email protected]> wrote: > > > > You didn't say what version of rubygems you have. I suspect your > > > problem might lie in that area. > > > > try: > > > $ gem --version > > > $ gem out > > > > On Apr 3, 9:42 am, danman <[email protected]> wrote: > > > > > Still no luck. > > > > Any other suggestions? I'm about at the point of creating a whole new > > > > project and going from there but, i'd prefer a quicker solution. > > > > > On Apr 3, 10:41 am, danman <[email protected]> wrote: > > > > > > 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 toinstall2.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: > > > > > > >>>> UnfortunatelyHoboisn't compatible with Rails 2.3 yet. If you > > > > > > >>>>installRails 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 > > > > > > >>>>> 'hobofields'. 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 -~----------~----~----~----~------~----~------~--~---
