Re: applescript shell script SCP?
Re: applescript shell script SCP?
- Subject: Re: applescript shell script SCP?
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 8 Dec 2008 22:43:33 -0500
On Mon, Dec 8, 2008 at 10:28 PM, Stan Cleveland
<email@hidden> wrote:
I¹m no shell guru, that¹s for sure. I figured out something that worked a
few years back and ran with it. It still works.
By all means, if it ain't broke, don't fix it! I didn't mean to criticize; sorry if it came off that way. My concern was only that someone trying to adopt your solution now might be confused when it doesn't work in the current version of RubyGems.
My version was incorrect as well, however. When using require instead of the old require_gem, you need a path rather than a gem name - so it's net/sftp with a slash instead of net-sftp with a hyphen:
ruby -rubygems -rnet/sftp -e 'Net::SFTP.start(...'
--
Mark J. Reed <
email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden