Scott Ribe wrote:
On Nov 19, 2014, at 11:12 AM, Robert Fitzpatrick<rob...@webtent.org>  wrote:
OK, that's a relief that I can read the code, thanks for clarifying. To get 
verbosity, I'll need to do a lot of uncommenting and do line-by-line debuggging 
:-/

Jason mentioned a debugging tool for Rails 2.0 earlier, what about for this 
1.9.3, anything available to help?

Maybe I missed something earlier in the discussion, but can't you just edit it 
to:

@verbose = true if arg == 'V'


Yes, I guess so, and then uncomment all the places in the code where he has....

#puts <something> if @verbose

I'll give it a try, still trying to figure out how to run the task. I put the app in development environment with the Apache directive and this is all the deprecated info I mentioned and other output when trying to "bundle exec", I get "Don't know how to build task 'utils:archives'". Is this how I should be trying to run the task?

$ bundle exec rake utils:archives  --trace
Your Gemfile lists the gem sitemap_generator (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem backup (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem awesome_print (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Your Gemfile lists the gem awesome_print (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later. DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from require at /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76) DEPRECATION WARNING: Calling set_primary_key is deprecated. Please use `self.primary_key = 'the_name'` instead. (called from require at /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76) DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from require at /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76) DEPRECATION WARNING: Calling set_primary_key is deprecated. Please use `self.primary_key = 'the_name'` instead. (called from require at /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76) DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from require at /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76) DEPRECATION WARNING: Calling set_primary_key is deprecated. Please use `self.primary_key = 'the_name'` instead. (called from require at /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76) DEPRECATION WARNING: Support for Rails < 4.0.4 will be dropped from Formtastic 4.0. (called from require at /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.7.4/lib/bundler/runtime.rb:76) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7) DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /backup/storage/sites/wmnf/wmnf.org/Rakefile:7)
rake aborted!
Don't know how to build task 'utils:archives'
/home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/task_manager.rb:62:in `[]' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:149:in `invoke_task' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 levels) in top_level' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:106:in `each' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in top_level' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in run' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/lib/rake/application.rb:75:in `run' /home/robert/.rvm/gems/ruby-1.9.3-p392@global/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/home/robert/.rvm/gems/ruby-1.9.3-p392@global/bin/rake:19:in `load'
/home/robert/.rvm/gems/ruby-1.9.3-p392@global/bin/rake:19:in `<main>'
/home/robert/.rvm/gems/ruby-1.9.3-p392/bin/ruby_executable_hooks:15:in `eval' /home/robert/.rvm/gems/ruby-1.9.3-p392/bin/ruby_executable_hooks:15:in `<main>'

--
Robert

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/546CF30B.7040100%40webtent.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to