jlund / spotify-export

A simple Ruby utility that uses Spotify's Web API to export a playlist as plain text
MIT License
293 stars 42 forks source link

Not a ruby user - how to rectify ? #6

Closed bbulkow closed 7 years ago

bbulkow commented 8 years ago

Is this problem caused by me using ruby2 ? Ruby2 seems the default on the mac now

ruby -v

ruby 2.0.0p645 (2015-04-13 revision 50299) [universal.x86_64-darwin15]

MacBook-Pro:~/dev/spotify-export$ ./bin/spotify-export.rb work-playlist /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- bundler/setup (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from ./bin/spotify-export.rb:3:in `

'

axcochrane commented 8 years ago

also having this problem :(

jlund commented 8 years ago

You need to install Bundler. These steps should work:

  1. sudo gem install bundler
  2. cd spotify-export (wherever you checked out the repository)
  3. bundle install
  4. ./bin/spotify-export.rb <playlist-file>
jlund commented 7 years ago

Looks like I forgot to close this. I hope it all worked out! :)