Skip to content

Commit

Permalink
Fix require order in ./bin/cijoe. Closes defunkt#30
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Feb 8, 2011
1 parent 194ff6d commit 70ab1d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/cijoe
Expand Up @@ -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"
Expand Down Expand Up @@ -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.