.rvm/gems/ruby-1.9.2-p0/gems/scrobbler-0.2.3/lib/scrobbler/artist.rb:93:in initialize': undefined methodblank?' for "Nirvana":String (NoMethodError)
from lastfm_tags.rb:17:in new' from lastfm_tags.rb:17:in'
when executing:
require 'scrobbler'
artist = Scrobbler::Artist.new('Nirvana')
I believe .blank? may be part of active_support, but require 'active_support' does not solve the issue.
Active Support was updated a while ago to not load everything when you require 'active_support'. A workaround is requiring 'active_support/all', but the preferred way is requiring what you actually need.
Getting the following error on ruby 1.9.2
.rvm/gems/ruby-1.9.2-p0/gems/scrobbler-0.2.3/lib/scrobbler/artist.rb:93:in'
initialize': undefined method
blank?' for "Nirvana":String (NoMethodError) from lastfm_tags.rb:17:innew' from lastfm_tags.rb:17:in
when executing:
require 'scrobbler' artist = Scrobbler::Artist.new('Nirvana')
I believe .blank? may be part of active_support, but require 'active_support' does not solve the issue.