Date: Fri, 05 Feb 2016 17:31:44 +0900 From: KAWAMATA Fumio <fumio@next.matrix.jp> To: freebsd-users-jp@freebsd.org Subject: [FreeBSD-users-jp 95666] Re: =?iso-2022-jp?b?dGFnbGliLXJ1YnkgGyRCJEcbKEIgIDAgaXMgbm90IGEg?= =?iso-2022-jp?b?Y2xhc3MvbW9kdWxlIChUeXBlRXJyb3Ip?= Message-ID: <20160205173144.199C.D8AB530D@next.matrix.jp> In-Reply-To: <56B451F8.2010605@port.kobe-u.ac.jp> References: <20160205151824.1998.D8AB530D@next.matrix.jp> <56B451F8.2010605@port.kobe-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
$B@nKt$G$9!#(B $B$=$NDL$j$G$7$?!#(Bgem$B$H(Bpkg$B$r<h$j0c$($F$^$7$?!#(B $B$*A{$,$;$7$F?=$7Lu$"$j$^$;$s$G$7$?!#(B On Fri, 5 Feb 2016 16:40:40 +0900 OGINO Tetsuo <togino@port.kobe-u.ac.jp> wrote: > > $B2.Ln$G$9!%(B > > ruby-taglib $B$r;H$C$?$3$H$,$J$$$N$G!$E*30$l$J2sEz$+$b$7$l(B > $B$^$;$s$,!$(BFreeBSD $B$N(B ports $B$K$"$k(B ruby21-taglib $B$O(B > > http://www.hakubi.us/ruby-taglib/ > $B$K$FG[I[$5$l$F$$$k(B tablib.rb $B$r%$%s%9%H!<%k$7$F$$$^$9!%(B > > $B0lJ}!$(B > >> https://robinst.github.io/taglib-ruby/ $B$K$"$k(B Format-specific API > >> $B$N%9%/%j%W%H$N(Bmp3$B%U%!%$%kL>ItJ,$N$_JQ99$7$F%F%9%H$7$F$_$?$N$G$9$,!"(B > > https://robinst.github.io/taglib-ruby/ > $B$K$FG[I[$5$l$F$$$k(B tablib.rb $B$H$O!$Cf?H$,A4$/JLJ*$N$h$&(B > $B$G$9$,!$$I$&$G$7$g$&!%(B > > ruby-taglib $B$N(B README $B$K$O(B > ---- > require 'taglib' > > file = TagLib::File.new('test.mp3') > puts "Old title: #{file.title}" > > file.title = "New title" > file.save > file.close > ---- > $B$H$$$&%5%s%W%k$,5-:\$5$l$F$$$^$9!%(B > > TagLib::MPEG $B$H$$$&%b%8%e!<%k$O;H$C$F$$$^$;$s$7!$$=$N$h$&$J(B > $BDj5A$O$I$3$K$b8+Ev$?$j$^$;$s!%(B > > >> TagLib::MPEG::File.open("hoge.mp3") do |file| > >> ./specific.rb:7:in `<main>': 0 is not a class/module (TypeError) > > $B$3$l$O(B TagLib::MPEG $B$,L$Dj5A$J$N$G!$(BTagLib::MPEG::File $B$H$$$&(B > $B%/%i%9$rC5$9$3$H$O$G$-$J$$$G$9!$$H$$$&%(%i!<$+$H;W$$$^$9!%(B > > CentOS $B$+$i$N0\9T$r9M$($k$N$G$"$l$P!$(Bports $B$K$"$k(B ruby21-taglib > $B$G$O$J$/!$(Bhttps://robinst.github.io/taglib-ruby/ $B$3$A$i$r(B > gem $B$r;H$C$F%$%s%9%H!<%k$7$?J}$,$h$m$7$$$N$G$O$J$$$+$H;W$$$^$9!%(B > > On 2016/02/05 15:18, KAWAMATA Fumio wrote: > > $B@nKt$G$9!#(B > > > > $BFbF#$5$s!"$($0$A$5$s!"%l%9$"$j$,$H$&$4$6$$$^$7$?!#(B > > > > ($B$J$<$+(BML$B$+$i$N%a!<%k$,FO$+$J$$$N$G!"<+J,$N%a!<%k$K$D$J$2$k(B > > $B$+$?$A$G%j%W%i%$$7$^$9(B) > > > >> DL::Importable $B$r(B DL::Importer $B$KJQ$($k$HD>$j$^$;$s$+!)(B > > > > $B%o!<%K%s%0$O$=$N$^$^$G!"%(%i!<%a%C%;!<%8$,JQ$o$j$^$7$?!#(B > > ($B%a%C%;!<%8$O!":G=i$N%a!<%k$N$H$*$j(B) > > > > require 'dl' > > require 'dl/import' > > extend Dl::Importer > > > > $B$N(Bdl$B!"(BDl$B$r(Bfiddle$B!"(BFiddle$B$KJQ99$9$k$H!"$3$N%o!<%K%s%0$OI=<((B > > $B$5$l$J$/$J$k$N$G$9$,!"%(%i!<%a%C%;!<%8$O>C$($^$;$s!#(B > > > >> Centos $B$N$I$N%P!<%8%g%s$r$*;H$$$+$OJ,$+$j$^$;$s$,!"(B > >> Centos 6 $B$J$i$P(B ruby 1.8 $B$,F~$C$F$$$^$9$N$G!"(B > >> $B$3$N?dB,$,@5$7$1$l$P(B Taglib $B$OF0:n$9$k$@$m$&$H;W$$$^$9!#(B > >> FreeBSD $B$G(B ruby 2.1 $B$K@Z$jBX$($?$i!"(B > >> ruby $B$N8_49@-$NLdBj$GF0$+$J$/$J$C$?$h$&$K;W$$$^$9!#(B > >> > >> $BF1$8$3$H$O(B Centos 7 $B$K>e$2$F$b5/$3$k$H;W$$$^$9$N$G!"(B > >> Taglib $B$rJL$N%i%$%V%i%j$GCV$-49$($k$+!"(BTaglib $B<+BN$r=$@5$9$k$+$r(B > >> $B$7$?$[$&$,NI$$$N$G$O$J$$$+$H;W$$$^$9!#(B > > > > $B>pJs$r=P$7@K$7$_$7$F$$$F$9$_$^$;$s!#8=:_%9%/%j%W%H$,F0:n$7$F(B > > $B$$$k4D6-$O(B CentOS 6.4 + ruby 2.0.0p195$B$G$9!#(B > > CentOS 7.2$B$r?75,$K%;%C%H%"%C%W$7$F%9%/%j%W%H$r<B9T$7$F$_$?(B > > $B$H$3$m!"@5>o$KF0:n$7$^$7$?!#(B(Ruby$B$N%P!<%8%g%s$O(B2.0.0p598$B!#(B > > $BIaDL$K(Byum install$B$7$?$N$G!"(BCentOS 7.2$BI8=`$N%P!<%8%g%s$G$9!#(B) > > > > $B<+J,$N%9%-%k$+$i$9$k$H(BTaglib$B<+BN$N=$@5$OI_5o$,9b$$$G$9$,!"(B > > OS$B$r(BCentOS$B$+$i(BFreeBSD$B$K@Z$jBX$($?$$$N$G!"$5$i$KD4$Y$F$_$^$9!#(B > > > > $B$"$j$,$H$&$4$6$$$^$7$?!#(B > > > > > > On Thu, 04 Feb 2016 11:43:01 +0900 > > KAWAMATA Fumio <fumio@next.matrix.jp> wrote: > > > >> $B$3$s$K$A$O!#@nKt$H?=$7$^$9!#(B > >> > >> CentOS$B$N4D6->e$GF0:n$7$F$$$k!"(Btaglib$B$rMQ$$$?(BRuby$B%9%/%j%W%H$r(B > >> Freebsd$B4D6-$K0\?"$7$h$&$H$7$F$$$F!"$D$^$E$$$F$*$j$^$9!#(B > >> > >> Freebsd$B$N4D6-$O!"(BFreebsd 10.2$B!"(Bruby 2.1.8p440$B!"(Bruby21-taglib-1.1_1$B!"(B > >> taglib-1.10$B$G$9!#(B(ruby21-taglib$B$H(Btaglib$B$O(Bports$B$+$i%$%s%9%H!<%k(B) > >> > >> $B<+:n%9%/%j%W%H0MB8$N@Z$jJ,$1$N$?$a$K!"(B > >> https://robinst.github.io/taglib-ruby/ $B$K$"$k(B Format-specific API > >> $B$N%9%/%j%W%H$N(Bmp3$B%U%!%$%kL>ItJ,$N$_JQ99$7$F%F%9%H$7$F$_$?$N$G$9$,!"(B > >> > >> DL is deprecated, please use Fiddle > >> /usr/local/lib/ruby/site_ruby/2.1/taglib.rb:40:in `<module:TagLib>': uninitialized constant DL::Importable (NameError) > >> > >> $B$H$$$&%o!<%K%s%0$H%(%i!<$,I=<($5$l$^$9!#(B > >> > >> /usr/local/lib/ruby/site_ruby/2.1/taglib.rb > >> $B$N!"(B > >> extend DL::Importable > >> $B$r(B > >> extend DL::Importer > >> $B$KJQ99$7$F<B9T$9$k$H!"(B > >> > >> DL is deprecated, please use Fiddle > >> ./specific.rb:7:in `<main>': 0 is not a class/module (TypeError) > >> > >> $B$H$J$j$^$9!#(B > >> > >> $B%(%i!<9T$O!"(B > >> TagLib::MPEG::File.open("hoge.mp3") do |file| > >> $B$J$N$G$9$,!"$3$N$"$H!"$I$3$r=$@5$9$l$PNI$$$N$+J,$+$i$J$$>u67(B > >> $B$G$9!#(B > >> > >> $BBP=hK!$r$4B8CN$NJ}$,$$$i$C$7$c$$$^$7$?$i$465<($$$?$@$1$J$$(B > >> $B$G$7$g$&$+(B? > >> > >> $B$h$m$7$/$*4j$$$7$^$9!#(B > >> > >> > >> _______________________________________________ > >> freebsd-users-jp@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp > >> To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-users-jp@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp > To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe@freebsd.org" -- KAWAMATA Fumio <fumio@next.matrix.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160205173144.199C.D8AB530D>