0

我正在尝试运行 Hallon gem https://github.com/Burgestrand/Hallon提供的示例

我遵循了所有这些说明: https ://github.com/Burgestrand/Hallon/wiki

但是,我仍然有一个问题。下面是我得到的错误。任何帮助将不胜感激!

Basils-MacBook-Pro:Hallon Basil$ ruby​​ examples/show_published_playlists_of_user.rb /Users/Basil/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 :in require': cannot load such file -- weak_observable (LoadError) from /Users/Basil/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' 来自 /Users/Basil/Desktop/Hallon/lib/hallon.rb:6:in <top (required)>' from /Users/Basil/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' 来自 /Users/Basil/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/ 1.9.1/rubygems/custom_require.rb:36:in require' from /Users/Basil/Desktop/Hallon/examples/example_support.rb:46:in'来自示例/show_published_playlists_of_user.rb:4:in require_relative' from examples/show_published_playlists_of_user.rb:4:in'

4

1 回答 1

1

错误消息包含答案:

require': cannot load such file -- weak_observable (LoadError) 

这意味着这应该可以解决您的问题:

gem install weak_observable
于 2012-12-13T11:58:17.780 回答