trouble with the examples

6 views
Skip to first unread message

Basil Siddiqui

unread,
Dec 1, 2012, 1:04:24 AM12/1/12
to ruby-...@googlegroups.com
I'm trying to run the examples provided by the Hallon gem https://github.com/Burgestrand/Hallon

I followed all these instructions: https://github.com/Burgestrand/Hallon/wiki

But, I'm still having an issue. Below is the error I'm getting. Any help would be greatly appreciated!

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:in `require'
from /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:in `require'
from /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 `<top (required)>'
from examples/show_published_playlists_of_user.rb:4:in `require_relative'
from examples/show_published_playlists_of_user.rb:4:in `<main>'



Thanks,
Basil Siddiqui

----
http://MusinglyInclined.com
http://Twitter.com/BasilKSiddiqui
http://LinkedIn.com/in/BasilSiddiqui

Kim Burgestrand

unread,
Dec 1, 2012, 3:27:45 AM12/1/12
to ruby-...@googlegroups.com
Hello!

If you clone Hallon from the git repository, you do not receive the gem dependencies (weak_observable, ref, spotify). The repository includes a Gemfile, which allows you to install the gems through bundler (see http://gembundler.com/):

gem install bundler
bundle install

Installing the dependencies via bundler also makes sure you install the correct versions.

I’ve updated the wiki with the addition of these instructions. Thank you :) https://github.com/Burgestrand/Hallon/wiki

— Kim
Reply all
Reply to author
Forward
0 new messages