I'm afraid you will have to tackle the errors one at a time. I just did an upgrade from 2.0.2 to 2.2.2 and there were a number of changes that caused problems. For the current one, comment this line out (remove when safe). It's been removed from Rails 2.2.2:
cache_template_extensions=true Also, remove the reference to config.breakpoint_server You're not just doing a platform switch, you're doing a version upgrade, so allocate a bit of time to ironing out the differences. On Jan 22, 2009, at 6:45 PM, eduardopa wrote: > > The list of gem in instantrails is here: > http://dl.getdropbox.com/u/378619/Gems.JPG > > > On Jan 22, 6:41 pm, eduardopa <[email protected]> wrote: >> s.ross, >> >> I added the gem and it took care of some of the errors. >> But do you know what can I do about the rest? >> >> Bob Martens, >> >> the rails gem version on instant rails is >> rails (2.1.0, 1.2.2) >> >> Thanks for the help! >> >> This are the current gems and errors in the mac: >> >> *** LOCAL GEMS *** >> >> actionmailer (2.2.2) >> actionpack (2.2.2, 2.1.0) >> activerecord (2.2.2, 2.1.0) >> activeresource (2.2.2) >> activesupport (2.2.2, 2.1.0) >> acts_as_ferret (0.4.3) >> aslakhellesoy-webrat (0.3.2.1) >> capistrano (2.5.3) >> cgi_multipart_eof_fix (2.5.0) >> cmdparse (2.0.2) >> columnize (0.3.0) >> daemons (1.0.10) >> dnssd (0.7.0) >> fastthread (1.0.1) >> fcgi (0.8.7) >> ferret (0.11.6) >> gem_plugin (0.2.3) >> highline (1.5.0) >> hpricot (0.6.164) >> libxml-ruby (0.9.7) >> linecache (0.43) >> mislav-will_paginate (2.3.6) >> mongrel (1.1.5) >> net-scp (1.0.1) >> net-sftp (2.0.1) >> net-ssh (2.0.8) >> net-ssh-gateway (1.0.0) >> nokogiri (1.1.0) >> rails (2.2.2) >> rake (0.8.3) >> RedCloth (4.1.1) >> ruby-debug (0.10.3) >> ruby-debug-base (0.10.3) >> ruby-openid (2.1.2) >> sources (0.0.1) >> sqlite3-ruby (1.2.4) >> termios (0.9.4) >> >>>> ruby script/server >> >> => Booting Mongrel (use 'script/server webrick' to force WEBrick) >> => Rails 2.2.2 application starting onhttp://0.0.0.0:3000 >> => Call with -d to detach >> => Ctrl-C to shutdown server >> ** Starting Mongrel listening at 0.0.0.0:3000 >> ** Starting Rails with development environment... >> >> ******************************************************************* >> * config.breakpoint_server has been deprecated and has no >> effect. * >> >> ******************************************************************* >> >> Exiting >> /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb: >> 530:in `send': undefined method `cache_template_extensions=' for >> ActionView::Base:Class (NoMethodError) >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 530:in `initialize_framework_settings' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 529:in `each' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 529:in `initialize_framework_settings' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 526:in `each' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 526:in `initialize_framework_settings' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 154:in `process' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 112:in `send' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> initializer.rb: >> 112:in `run' >> from /Users/a/Sites/deasygn/config/environment.rb:13 >> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >> custom_require.rb: >> 31:in `gem_original_require' >> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >> custom_require.rb: >> 31:in `require' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:153:in `require' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:521:in `new_constants_in' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:153:in `require' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../ >> lib/ >> mongrel/rails.rb:147:in `rails' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >> mongrel_rails:113:in `cloaker_' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >> mongrel/ >> configurator.rb:149:in `call' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >> mongrel/ >> configurator.rb:149:in `listener' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >> mongrel_rails:99:in `cloaker_' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >> mongrel/ >> configurator.rb:50:in `call' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >> mongrel/ >> configurator.rb:50:in `initialize' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >> mongrel_rails:84:in `new' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >> mongrel_rails:84:in `run' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >> mongrel/ >> command.rb:212:in `run' >> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >> mongrel_rails:281 >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:142:in >> `load_without_new_constant_marking' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:142:in `load' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:521:in `new_constants_in' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:142:in `load' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> commands/ >> servers/mongrel.rb:64 >> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >> custom_require.rb: >> 31:in `gem_original_require' >> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >> custom_require.rb: >> 31:in `require' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:153:in `require' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:521:in `new_constants_in' >> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >> lib/ >> active_support/dependencies.rb:153:in `require' >> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >> commands/ >> server.rb:49 >> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >> custom_require.rb: >> 31:in `gem_original_require' >> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >> custom_require.rb: >> 31:in `require' >> from script/server:3 >> >> On Jan 22, 3:09 pm, "s.ross" <[email protected]> wrote: >> >>> sudo gem install ruby-debug >> >>> On Jan 22, 2009, at 12:56 PM, eduardopa wrote: >> >>>> Hi, >> >>>> I am a Newbie to Mac and Rails. >> >>>> I have a rails apps made using instantrails in windows, and have >>>> been trying to transfer it to a mac. >> >>>> I am using Leopard and installed mac ports and Xcode. >> >>>> I copied the folder from rails_apps and added all the gems. >> >>>> Anything else I need to do? Any Ideas? >> >>>> Thank you! >> >>>> This is the set of errors that I am getting after starting the >>>> server: >> >>>> Exiting >>>> /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb: >>>> 31:in >>>> `gem_original_require': no such file to load -- ruby-debug >>>> (MissingSourceFile) >>>> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >>>> custom_require.rb: >>>> 31:in `require' >>>> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >>>> lib/ >>>> active_support/dependencies.rb:153:in `require' >>>> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >>>> lib/ >>>> active_support/dependencies.rb:521:in `new_constants_in' >>>> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >>>> lib/ >>>> active_support/dependencies.rb:153:in `require' >>>> from /Users/rafaelparra/Sites/deasygn/config/environments/ >>>> development.rb:22:in `load_environment' >>>> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >>>> initializer.rb: >>>> 340:in `load_environment' >>>> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >>>> lib/ >>>> active_support/core_ext/kernel/reporting.rb:11:in >>>> `silence_warnings' >>>> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >>>> initializer.rb: >>>> 333:in `load_environment' >>>> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >>>> initializer.rb: >>>> 136:in `process' >>>> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >>>> initializer.rb: >>>> 112:in `send' >>>> from /opt/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/ >>>> initializer.rb: >>>> 112:in `run' >>>> from /Users/rafaelparra/Sites/deasygn/config/ >>>> environment.rb:13 >>>> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >>>> custom_require.rb: >>>> 31:in `gem_original_require' >>>> from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ >>>> custom_require.rb: >>>> 31:in `require' >>>> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >>>> lib/ >>>> active_support/dependencies.rb:153:in `require' >>>> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >>>> lib/ >>>> active_support/dependencies.rb:521:in `new_constants_in' >>>> from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/ >>>> lib/ >>>> active_support/dependencies.rb:153:in `require' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../ >>>> lib/ >>>> mongrel/rails.rb:147:in `rails' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >>>> mongrel_rails:113:in `cloaker_' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >>>> mongrel/ >>>> configurator.rb:149:in `call' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >>>> mongrel/ >>>> configurator.rb:149:in `listener' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >>>> mongrel_rails:99:in `cloaker_' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >>>> mongrel/ >>>> configurator.rb:50:in `call' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/ >>>> mongrel/ >>>> configurator.rb:50:in `initialize' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >>>> mongrel_rails:84:in `new' >>>> from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ >>>> mongrel_rails:84:in `run' >>>> from > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

