script/train.rb in twss-0.0.3 vs script/train.rb in twss-0.0.4
- old
+ new
@@ -1,7 +1,7 @@
-require File.join(File.dirname(__FILE__), '../lib/twss')
-require File.join(File.dirname(__FILE__), '../lib/twss/trainer')
+require File.expand_path('../../lib/twss', __FILE__)
+require File.expand_path('../../lib/twss/trainer', __FILE__)
engine = TWSS::Engine.new
trainer = TWSS::Trainer.new(engine)
trainer.train