Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
* bin/deltacloudd: add --webrick option to force the use of WEBRick
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/deltacloud/trunk@1236526 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
David Lutterkort committed Jan 27, 2012
1 parent d1a63ca commit ec45a48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/bin/deltacloudd
Expand Up @@ -82,6 +82,9 @@ BANNER
opts.on( '-V', '--verbose', 'Set verbose logging on') do |verbose|
ENV["API_VERBOSE"] ||= 'true'
end
opts.on( nil, '--webrick', 'Force the use of WEBRick as a server') do |opt|
options[:webrick] = true
end
opts.on( '-h', '--help', '') { options[:help] = true }

opts.separator <<EOS
Expand Down Expand Up @@ -173,7 +176,7 @@ end

dirname="#{File.dirname(__FILE__)}/.."

have_thin = library_present?('thin')
have_thin = options[:webrick].nil? && library_present?('thin')
have_rerun = library_present?('rerun')

unless have_thin
Expand Down

0 comments on commit ec45a48

Please sign in to comment.