lib/omnibus/cli.rb in omnibus-7.0.13 vs lib/omnibus/cli.rb in omnibus-7.0.34
- old
+ new
@@ -12,12 +12,12 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require "thor"
+require "thor" unless defined?(Thor)
require "omnibus"
-require "ffi_yajl"
+require "ffi_yajl" unless defined?(FFI_Yajl)
module Omnibus
class CLI < Command::Base
# This is the main entry point for the CLI. It exposes the method
# {#execute!} to start the CLI.