Skip to content

Commit

Permalink
- Add monkeypatches for File.write under Ruby 1.8.7 (will remove
Browse files Browse the repository at this point in the history
  monkeypatches once the next version of the 'backports' gem  is
  released)
  Fixes #175, fixes #176.
  • Loading branch information
jordansissel committed Mar 19, 2012
1 parent f9275dd commit 9725be9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fpm/package/deb.rb
Expand Up @@ -3,6 +3,8 @@
require "fpm/package"
require "fpm/errors"
require "fpm/util"
require "backports"
require "fpm/monkeypatches" # until backports > 2.3.0
require "fileutils"

# Support for debian packages (.deb files)
Expand Down
1 change: 1 addition & 0 deletions lib/fpm/package/rpm.rb
Expand Up @@ -2,6 +2,7 @@
require "backports"
require "fileutils"
require "find"
require "fpm/monkeypatches" # until backports > 2.3.0
require "arr-pm/file" # gem 'arr-pm'

# RPM Package type.
Expand Down

0 comments on commit 9725be9

Please sign in to comment.