cannot load such file -- hallon

已查看 24 次
跳至第一个未读帖子

Stephen Hoult

未读,
2015年7月10日 08:25:502015/7/10
收件人 ruby-s...@googlegroups.com
Hi 

I'm new to ruby on rails.

When running require 'hallon' in my controller I get the below error.

"
cannot load such file -- hallon

app/controllers/search_controller.rb:7:in `results'

This error occurred while loading the following files:
   hallon
"

I've run 'gem install hallon' and it appears when I run 'gem list'.

Not sure what the problem is, can anyone help?

Cheers

Kim Burgestrand

未读,
2015年7月10日 08:37:232015/7/10
收件人 Spotify for Ruby on behalf of Stephen Hoult
Hi,

Hallon is no longer being maintained.
Spotify has deprecated libspotify, and because of this spotify for Ruby is also deprecated.

For most things nowadays you can use the Spotify Web API: https://developer.spotify.com/web-api/

— Kim Burgestrand

--
You received this message because you are subscribed to the Google Groups "Spotify for Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-spotify...@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-spotify.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-spotify/88a646c8-c352-46c2-a0a2-70d3257327c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stephen Hoult

未读,
2015年7月10日 08:56:352015/7/10
收件人 ruby-s...@googlegroups.com

Thanks

 

I’ll try using the web api.

 

However, it seems like anything I require 9any gem i've installed, e.g. hallon, rspotify, redis) in my controller throws an error and I’m stumped.


They all appear in the list when I run 'gem list'

Kim Burgestrand

未读,
2015年7月10日 09:30:192015/7/10
收件人 Spotify for Ruby on behalf of Stephen Hoult
However, it seems like anything I require 9any gem i've installed, e.g. hallon, rspotify, redis) in my controller throws an error and I’m stumped.

This is a Rails problem, I found some documentation for you here http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application which points towards the documentation for Bundler http://bundler.io/.

Bundler is isolating your application so that you can only require gems that are a part of your application. I suggest you read on the bundler website to learn more! 

#rubyonrails on Freenode in IRC can be very helpful with these kinds of issues as well. See http://rubyonrails.org/community/

— Kim Burgestrand

On Fri, Jul 10, 2015 at 2:56 PM, Stephen Hoult via Spotify for Ruby <ruby-spotify+APn2wQccLcFTi4VsMeg...@googlegroups.com> wrote:

Thanks

 

I’ll try using the web api.

 

However, it seems like anything I require 9any gem i've installed, e.g. hallon, rspotify, redis) in my controller throws an error and I’m stumped.


They all appear in the list when I run 'gem list'


-- 

You received this message because you are subscribed to the Google Groups "Spotify for Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-spotify...@googlegroups.com.
Visit this group at http://groups.google.com/group/ruby-spotify.

Stephen Hoult

未读,
2015年7月10日 09:32:072015/7/10
收件人 Spotify for Ruby on behalf of Kim Burgestrand

Thanks very much!

--
You received this message because you are subscribed to a topic in the Google Groups "Spotify for Ruby" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ruby-spotify/f5HOgM1dbgg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ruby-spotify...@googlegroups.com.

回复全部
回复作者
转发
0 个新帖子