Sha256: ec754eec4081c6c685688ae557ba7ad42df06c722f844c1d9dd740f40133002c

Contents?: true

Size: 506 Bytes

Versions: 4

Compression:

Stored size: 506 Bytes

Contents

#!/usr/bin/env ruby

root = File.expand_path(File.join(File.dirname(__FILE__),'..'))
if File.directory?(File.join(root,'.git'))
  Dir.chdir(root) do
    begin
      require 'bundler/setup'
    rescue LoadError => e
      warn e.message
      warn "Run `gem install bundler` to install Bundler"
      exit -1
    end
  end
end

require 'feed_torrents'

if ARGV.length != 1
  puts "Usage: #{$0} <configfile>"
  exit 1
else
  FeedTorrents.configuration.yaml_from_file ARGV[0]
end

FeedTorrents::Reactor.start!

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
feed_torrents-0.1.3 bin/feed_torrents
feed_torrents-0.1.2 bin/feed_torrents
feed_torrents-0.1.1 bin/feed_torrents
feed_torrents-0.1.0 bin/feed_torrents