If you add this line to the top of your s3cmd.rb, you can run the script from anywhere.
$LOAD_PATH << File.expand_path(File.dirname(__FILE__))
Also, just preference, I like to put the s3sync folder in my path, and then have aliases like this setup...
alias s3lb='s3cmd.rb listbuckets'