xmms2-scrobbler-0.1.2 port won't work after install even if the appropriate port (rubygem-event-loop-0.2) is installed: === Cut === [muf@cocaine /usr/ports]$ xmms2-scrobbler /usr/local/bin/xmms2-scrobbler:27:in `require': no such file to load -- event-loop (LoadError) from /usr/local/bin/xmms2-scrobbler:27 === Cut === This is because before you can do require 'event-loop' you should do a require 'rubygems'. Then it will start. Fix: Add require 'rubygems' before require 'event-loop' in /usr/local/bin/xmms2-scrobbler How-To-Repeat: Just install the latest (as I'm writing it) xmms2-scrobbler-0.1.2 with rubygem-event-loop-0.2 and try to start xmms2-scrobbler.
Responsible Changed From-To: freebsd-ports-bugs->alexbl Over to maintainer
State Changed From-To: open->feedback After speaking with the developer, he told me that the canonical way to deal with this issue is not to require rubygem but rather to set the enviornmental vasriable RUBYOPT to rubygem like: setenv RUBYOPT rubygems Could you confirm that this resolves the problem for you?
Hi, I just encountered the same problem with xmms2-scrobbler and can confirm that starting xmms2d with "env RUBYOPT=rubygems xmms2d" helps. Stefan
alexbl 2006-12-17 10:48:36 UTC FreeBSD ports repository Modified files: audio/xmms2-scrobbler Makefile Log: - switch to devel/ruby-event-loop to resolve bug with rubygems usage [1] PR: 103600 [1] Revision Changes Path 1.4 +2 -2 ports/audio/xmms2-scrobbler/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed I switched the dependency to the new devel/ruby-event-loop so no more gems. This should now be resolved.