Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while running the script #3

Open
kudumi opened this issue Jul 28, 2022 · 1 comment
Open

error while running the script #3

kudumi opened this issue Jul 28, 2022 · 1 comment

Comments

@kudumi
Copy link

kudumi commented Jul 28, 2022

sorry for noob question but I get his error when I try run the script "spotifyexporter"

Traceback (most recent call last):
11: from /usr/local/bin/spotifyexporter:23:in <main>' 10: from /usr/local/bin/spotifyexporter:23:in load'
9: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/exe/spotifyexporter:4:in <top (required)>' 8: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
7: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' 6: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter.rb:3:in <top (required)>'
5: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter.rb:3:in require_relative' 4: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter/cli.rb:5:in <top (required)>'
3: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter/cli.rb:5:in require_relative' 2: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter/command/playlists.rb:5:in <top (required)>'
1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- playlist (LoadError)
12: from /usr/local/bin/spotifyexporter:23:in <main>' 11: from /usr/local/bin/spotifyexporter:23:in load'
10: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/exe/spotifyexporter:4:in <top (required)>' 9: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
8: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' 7: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter.rb:3:in <top (required)>'
6: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter.rb:3:in require_relative' 5: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter/cli.rb:5:in <top (required)>'
4: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter/cli.rb:5:in require_relative' 3: from /Library/Ruby/Gems/2.6.0/gems/spotifyexporter-0.2.0/lib/spotifyexporter/command/playlists.rb:5:in <top (required)>'
2: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in require' 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in rescue in require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `require': cannot load such file -- playlist (LoadError)

@aquaflamingo
Copy link
Owner

Hi there, could you provide the exact command you ran?

Also, it looks like you are using the system Ruby installation instead of something like rbenv or rvm. Did you install the gem to systems gems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants