You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
authenticated do
repo = Repository.find(:name => "learn_ibus", :user => "gutenye")
repo.description="hello"
repo.save
end
error
/usr/lib/ruby/gems/1.9.1/gems/octopi-0.4.4/lib/octopi/base.rb:47:in `save': undefined method `each' for nil:NilClass (NoMethodError)
from /home/guten/a/a.rb:13:in `block in <main>'
from /usr/lib/ruby/gems/1.9.1/gems/octopi-0.4.4/lib/octopi.rb:36:in `block in authenticated'
from /usr/lib/ruby/gems/1.9.1/gems/octopi-0.4.4/lib/octopi.rb:65:in `authenticated_with'
from /usr/lib/ruby/gems/1.9.1/gems/octopi-0.4.4/lib/octopi.rb:35:in `authenticated'
from /home/guten/a/a.rb:9:in `<main>'
code
error
@keys
is always nilThe text was updated successfully, but these errors were encountered: