jordansissel/fpm — Issue #169: new release
Author: arohner
Created: 2012-03-02 06:22:48+00:00
State: open

I'm trying to package using the following command:

fpm -s dir -a amd64 -t deb --inputs files.txt -n foo

This is broken on 0.3.11, fails with:

/usr/lib/ruby/gems/1.8/gems/fpm-0.3.11/lib/fpm/program.rb:265:in `default_options': undefined local variable or method `settings' for # (NameError)
from /usr/lib/ruby/1.8/optparse.rb:1267:in `call'
from /usr/lib/ruby/1.8/optparse.rb:1267:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1254:in `catch'
from /usr/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
from /usr/lib/ruby/1.8/optparse.rb:1248:in `order!'
from /usr/lib/ruby/1.8/optparse.rb:1339:in `permute!'
from /usr/lib/ruby/1.8/optparse.rb:1360:in `parse!'
from /usr/lib/ruby/1.8/optparse.rb:1350:in `parse'
from /usr/lib/ruby/gems/1.8/gems/fpm-0.3.11/lib/fpm/program.rb:108:in `options'
from /usr/lib/ruby/gems/1.8/gems/fpm-0.3.11/lib/fpm/program.rb:32:in `run'
from /usr/lib/ruby/gems/1.8/gems/fpm-0.3.11/bin/fpm:20
from /usr/bin/fpm:19:in `load'
from /usr/bin/fpm:19

But building the gem from source (d4053543935ee1ed40cbfd195dbdb1a4bcedbd7b), everything works as expected.