scttnlsn / dandelion

Incremental Git repository deployment.
http://scttnlsn.github.io/dandelion
MIT License
738 stars 60 forks source link

requiring net-sftp gem #43

Closed iperdiscount closed 10 years ago

iperdiscount commented 11 years ago

After updating Dandelion to last version i get the following when running the deploy:

The 'sftp' scheme requires additional gems: net-sftp Please install the gems: gem install net-sftp

I've already installed it but i still get the same. It's my fault?

scttnlsn commented 10 years ago

Could you try running the following in your terminal and pasting the output?

$ irb
irb(main):001:0> require 'net/sftp'
iperdiscount commented 10 years ago

Sorry for the delay! Here the output:

1.9.3p194 :002 > require 'net/sftp' => true

I really can't get what can it be... Thanks in advance

scttnlsn commented 10 years ago

Are net/sftp and dandelion in the same "environment"? i.e. Does gem which net/sftp and gem which dandelion print the same base directory?

iperdiscount commented 10 years ago

seems yes...

iperbok:~ luca$ gem which dandelion /Users/luca/.rvm/gems/ruby-1.9.3-p194@global/gems/dandelion-0.3.12/lib/dandelion.rb iperbok:~ luca$ gem which net/sftp /Users/luca/.rvm/gems/ruby-1.9.3-p194@global/gems/net-sftp-2.1.2/lib/net/sftp.rb

iperdiscount commented 10 years ago

Could be a solution unistall and reinstall dandelion?

scttnlsn commented 10 years ago

@iperdiscount Did you ever figure this out?