[Ruby] Installing Gems on Dreamhost
Ryan Davis
ryand-ruby at zenspider.com
Tue Oct 31 11:02:40 PST 2006
On Oct 30, 2006, at 11:02 AM, Jordan Isip wrote:
> undefined method `new' for Flickr:Module
> RAILS_ROOT: ../config/..
> Application Trace | Framework Trace
> | Full Trace
> #{RAILS_ROOT}/app/controllers/peanut_gallery_controller.rb:92:in
> `get_image'
> #{RAILS_ROOT}/app/controllers/peanut_gallery_controller.rb:16:in
> `index'
> #{RAILS_ROOT}/app/controllers/application.rb:18:in `process'
> #{RAILS_ROOT}/app/controllers/application.rb:17:in `catch'
> #{RAILS_ROOT}/app/controllers/application.rb:17:in `process'
>
> I am calling flickr = Flickr.new in my controller. Do you (or
> anybody else on th list) have any ideas on why this is throwing
> this error message? Am I missing something?
According to http://redgreenblu.com/flickr/ (found via the flickr
project on rubyforge) what you're doing SHOULD work. Are you sure
you're picking up the right thing? On dreamhost, try:
% ./script/console
>> require 'flickr'
>> $".grep(/flickr/i)
and make sure it came from your vendor dir. If it did, then I suspect
you might have picked up a different lib than what you thought.
More information about the Ruby
mailing list