bin/tonic in tonic-0.0.1 vs bin/tonic in tonic-0.0.2
- old
+ new
@@ -1,12 +1,6 @@
#!/usr/bin/env ruby
-lib_dir = File.join(File.dirname(__FILE__), '..', 'lib')
-$LOAD_PATH.unshift lib_dir if File.directory?(lib_dir)
-
+require 'rubygems'
require 'tonic'
-if ARGV.empty?
- Tonic.activate
-else ARGV.first == 'push'
- Tonic.push_pages
-end
+Tonic.activate ARGV