Hey all, I'm not very familiar with ruby in general and am stuck on the simple fpm install.
I've tried also installing the 2.8.0 version of backports, and am able to 'make' fpm. However, it errors at the end:
# make rpm
Makefile:33: warning: overriding commands for target `clean'
Makefile.ext:15: warning: ignoring old commands for target `clean'
fpm -s dir -t rpm -n lumberjack -v 0.0.30 --prefix /opt/lumberjack \
--exclude '*.a' --exclude 'lib/pkgconfig/zlib.pc' -C build \
--description "a log shipping tool" \
bin/lumberjack bin/lumberjack.sh lib
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:233:in `activate': can't activate backports (= 2.3.0, runtime) for ["ftw-0.0.32", "fpm-0.4.35"], already activated backports-3.3.0 for ["fpm-0.4.35"] (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:249:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:248:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:1082:in `gem'
from /usr/bin/fpm:18
make: *** [rpm] Error 1
#
Uninstalling all backports versions, and trying this doesn't get me anywhere either:
# sudo gem install fpm
Successfully installed backports-3.3.0
Successfully installed ftw-0.0.33
Successfully installed fpm-0.4.35
3 gems installed
Installing ri documentation for backports-3.3.0...
RDoc failure in lib/backports/1.9.1/math/log.rb at or around line 4 column 29
Before reporting this, could you check that the file
you're documenting compiles cleanly--RDoc is not a
full Ruby parser, and gets confused easily if fed
invalid programs.
The internal error was:
ERROR: While executing gem ... (NoMethodError)
undefined method `add_require' for nil:NilClass
Anything else I can try??
Thanks.