Undefined method ?_git_repo_url
Closed this issue · 5 comments
If I try to do any diffs (including on the demo stack), I get an error:
NoMethodError at /diff/demo/116dfe3/116dfe3
undefined method `demo_git_repo_url' for #Deployinator::App:0x95b47b8
/home/jason/src/deployinator/helpers.rb in use_github
raise self.send("#{stack.to_s}_git_repo_url")
/home/jason/src/deployinator/helpers.rb in diff
if use_github(stack.intern, r1, r2)
/home/jason/src/deployinator/lib/app.rb in block in class:App
diff(params["r1"], params["r2"], params["stack"])
/home/jason/src/deployinator/lib/stream.rb in _call
status, headers, response = @app.call(env)
/home/jason/src/deployinator/lib/stream.rb in call
dup._call(env)
/home/jason/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb in service
si.service(req, res)
/home/jason/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb in run
server.service(req, res)
/home/jason/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb in block in start_thread
block ? block.call(sock) : run(sock)
I have the same issue with the demo stack. Not sure if it's useful, but I'm using the Pow setup described in the readme and ruby-1.9.2-p180. Let me know if you want a stack trace. Didn't want to clog up this thread.
Same issue. Tried to define #{my_stack}_git_repo_url in stacks/#{my_stack}.rb to no avail.
Wrote a patch for this, hopefully commit will be accepted and merged soon.
This is fixed, or should be please test.
Should be fixed already. Please reopen if this still persists.