Closed microspino closed 13 years ago
Looks like you'd get that error if the HEAD revision of your Git repository is nil. I know this sounds stupid, but have you actually committed anything to the repository yet? Assuming yes, try running "git show HEAD" to see if Git itself knows about the HEAD revision. If that succeeds, try firing up IRB and trying this:
require 'grit' repo = Grit::Repo.new('/path/to/your/local/git/repo') head = repo.commit('HEAD')
...and make sure that head != nil. Please let me know what you find. Thanks!
I'm on OS X 10.6 connecting to a ftp server on a local linux box. Here is my dandelion.yml:
scheme: ftp host: 192.168.10.100 username: "ftpuser" password: "1234" path: Download/ exclude:
When I issue "dandelion deploy" or "dandelion status" I always get this message:
Connecting to: ftp://ftpuser@192.168.10.100/Download/ /Users/microspino/.rvm/gems/ruby-1.9.2-p180/gems/dandelion-0.2.3/lib/dandelion/git.rb:57:in
initialize': undefined method
tree' for nil:NilClass (NoMethodError)Any clue?