Skip to content

Commit

Permalink
[Fixes #1397] Update fpm
Browse files Browse the repository at this point in the history
Ruby 1.9 requires Rubygems internally and this is no longer strictly required. It's been this way since 2009, so it's a little hard to come by official documentation. I hope this works...

> Note: For Ruby 1.8 you must require 'rubygems' before requiring any gems.

http://guides.rubygems.org/rubygems-basics/#requiring-code
  • Loading branch information
AnthonyMastrean authored and jordansissel committed Jan 11, 2018
1 parent c7c9043 commit dce029d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/fpm
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env ruby

require "rubygems"
$: << File.join(File.dirname(__FILE__), "..", "lib")
require "fpm"
require "fpm/command"
Expand Down

0 comments on commit dce029d

Please sign in to comment.