Brian Will
unread,Oct 24, 2009, 5:49:11 PM10/24/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Panda
I can't get the gem net-sftp to work on ec2:
su
gem install net-sftp
irb
require 'net/sftp'
# ...error
cd /var/local/www/panda
merb -i
require 'net/sftp'
# ...error
When I do this on my Windows machine, it works, but when I do it in my
Ubuntu VM, I get the same problem. The trouble, I'm guessing, is that
there are multiple installs of Ruby, and so the gem is being installed
to the wrong one. I've tried to find the locations for the gem repos
using 'whereis ruby', but installing the gem to each of the locations
explicitly didn't work.
I don't know my way around Ruby, so I'd really appreciate any advice.
--Brian Will