lib/omnibus/fetchers/net_fetcher.rb in omnibus-7.0.13 vs lib/omnibus/fetchers/net_fetcher.rb in omnibus-7.0.34
- old
+ new
@@ -12,10 +12,10 @@
# 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 "fileutils"
+require "fileutils" unless defined?(FileUtils)
require "omnibus/download_helpers"
module Omnibus
class NetFetcher < Fetcher
include DownloadHelpers