Permalink
Browse files

Fix require order in ./bin/cijoe. Closes #30

  • Loading branch information...
1 parent 194ff6d commit 70ab1d5bb182dabaf3eb55c7a984c2f37f34775d @defunkt defunkt committed Feb 8, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/cijoe
View
@@ -2,6 +2,7 @@
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
require 'choice'
+require 'cijoe'
Choice.options do
banner "Usage: #{File.basename(__FILE__)} [-hpv] path_to_git_repo"
@@ -46,6 +47,4 @@ end
options = Choice.choices
-require 'cijoe'
-
CIJoe::Server.start(options[:host], options[:port], File.expand_path(Choice.rest[0]))

0 comments on commit 70ab1d5

Please sign in to comment.