Open TomohiroHsu opened 10 years ago
... but the latest gem release is 0.5.0 from 2008 :-(
sorry guys, this gem has not gotten a lot of love for a while.
changing 'md5' to 'digest/md5' should be simple.
Regarding maintaining this gem ...
the problem is that with the switch to Ruby 1.9 the semantics and methods of accessing/modifying raw strings changed (e.g. was taken away), because now Ruby tries to always figure out the encoding of the string. If you try to access a sequence of raw bytes as a string, it will puke. :-/
It would have been great if they had provided a backwards-compatible way to access strings the way it was done in versions < 1.9
Running into the same issue here: LoadError: cannot load such file -- md5
. Is there a stable version of this gem I could use?
Thx for this ID3 lib. it's cool But there is something I think you need to change. In the "id3.rb" file require 'md5' #It's didn't work at ruby1.9.3 and ruby2.1.2 (as far as I know) require 'digest/md5' #this works
Note: If don't install ftools LoadError too! $ gem install ftools