bin/factor in factor-0.3.1 vs bin/factor in factor-0.5.04
- old
+ new
@@ -1,12 +1,4 @@
#!/usr/bin/env ruby
-require "rubygems"
+# -*- mode: ruby -*-
-require "pathname"
-bin_file = Pathname.new(__FILE__).realpath
-
-# add self to libpath
-$:.unshift File.expand_path("../../lib", bin_file)
-require 'factor'
-
-
-Factor::CLI::FactorTask.start
\ No newline at end of file
+require File.expand_path('../../lib/factor', __FILE__)