-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require 'id3' LoadError! #6
Comments
It looks like this was fixed in 2011... |
... 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: |
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
The text was updated successfully, but these errors were encountered: