我想使用 yahoo 音乐 gem,但由于 activesupport gem 而出现错误。
我的代码
require 'yahoo-music'
编辑1:
Eroor
LoadError: cannot load such file -- activesupport
from /Users/Ashok/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
from /Users/Ashok/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
from /Users/Ashok/.rvm/gems/ruby-2.0.0-p247/gems/yahoo-music-0.1.0/lib/yahoo-music.rb:1:in `block in <top (required)>'
from /Users/Ashok/.rvm/gems/ruby-2.0.0-p247/gems/yahoo-music-0.1.0/lib/yahoo-music.rb:1:in `each'
from /Users/Ashok/.rvm/gems/ruby-2.0.0-p247/gems/yahoo-music-0.1.0/lib/yahoo-music.rb:1:in `<top (required)>'
from /Users/Ashok/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:116:in `require'
from /Users/Ashok/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:116:in `rescue in require'
from /Users/Ashok/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:122:in `require'
from (irb):1
from /Users/Ashok/.rvm/rubies/ruby-2.0.0-p247/bin/irb:16:in `<main>'