1
0
mirror of https://github.com/jordansissel/fpm synced 2025-02-28 02:51:15 +01:00
fpm/bin/fpm
Anthony Mastrean dce029dddb [Fixes #1397] Update fpm
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
2018-01-10 21:00:06 -08:00

8 lines
139 B
Ruby
Executable File

#!/usr/bin/env ruby
$: << File.join(File.dirname(__FILE__), "..", "lib")
require "fpm"
require "fpm/command"
exit(FPM::Command.run || 0)