From 2faac45bf2bf5b7f45d46ef9922696c7a0142f4d Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Wed, 2 Nov 2011 12:11:34 +0100 Subject: [PATCH] update with new motion installation path --- bin/motion | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/motion b/bin/motion index 6b24854f..bbf6d48e 100644 --- a/bin/motion +++ b/bin/motion @@ -2,7 +2,7 @@ require 'optparse' -class RubixirCommandLine +class MotionCommandLine def initialize(argv) @argv = argv OptionParser.new do |opts| @@ -47,13 +47,15 @@ class RubixirCommandLine $stderr.puts "Directory `#{@app_name}' already exists" exit 1 end + + motion_libdir = File.expand_path(File.join(__FILE__, '../../lib')) Dir.mkdir(@app_name) Dir.chdir(@app_name) do File.open('Rakefile', 'w') do |io| io.puts <