lib/rubyneat/cli/templates/generate/bin/neat.tt in rubyneat-0.3.5.alpha.5 vs lib/rubyneat/cli/templates/generate/bin/neat.tt in rubyneat-0.3.5.alpha.6
- old
+ new
@@ -1,14 +1,5 @@
#!/usr/bin/env ruby
-require 'thor'
-require 'semver'
-
-# Be sure rnlib is added to the library path
-neatpath = File.expand_path '..', File.dirname(__FILE__)
-%w{ lib neater neater/rnlib }.each do |dir|
- $:.unshift File.join([neatpath, dir])
-end
-
-require 'rubyneat/cli'
-
+NEAT_PATH = File.expand_path '..', File.dirname(__FILE__)
+require_relative '../config/boot'
RubyNEAT::Cli::Main.start