Project

General

Profile

undefined method `save'

Added by Curtis Hall over 14 years ago

When I run:
ruby script/runner "Repository.fetch_changesets" -e production

I get this:

/sites/redmine/vendor/rails/railties/lib/commands/runner.rb:47: undefined method `save' for #<Redmine::Scm::Adapters::Revision:0xb6f549b4> (NoMethodError)
from /sites/redmine/app/models/repository/git.rb:50:in `each'
from /sites/redmine/app/models/repository/git.rb:50:in `fetch_changesets'
from (eval):1:in `to_proc'
from /sites/redmine/app/models/repository.rb:154:in `each'
from /sites/redmine/app/models/repository.rb:154:in `fetch_changesets'
from (eval):1
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `eval'
from /sites/redmine/vendor/rails/railties/lib/commands/runner.rb:47
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/runner:3

I'm not sure exactly what this is. Any suggestions?