I am trying to use a RubyGem in Rails. Given that Rails itself is a Gem, I''m a little confused. I don''t seem to be able to successfully get at my gem. Any clever debugging tricks? I have a require ''rubygems'' and the specific require_gem for my GEM file. What else do I need? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
Berger, Daniel
2006-Mar-22 22:03 UTC
[Rails] How to verify that I can see a Gem from Rails?
> -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Wes Gamble > Sent: Wednesday, March 22, 2006 2:46 PM > To: rails@lists.rubyonrails.org > Subject: [Rails] How to verify that I can see a Gem from Rails? > > > I am trying to use a RubyGem in Rails. > > Given that Rails itself is a Gem, I''m a little confused. > > I don''t seem to be able to successfully get at my gem.Which gem? You can always look under your gem directory which should be /usr/local/lib/ruby/gems/1.8/gems (replacing ''/usr/local'' with whatever your actual prefix is). If it''s not there, you don''t have it installed (as a gem, anyway). Regards, Dan
Wes Gamble
2006-Mar-22 22:06 UTC
[Rails] Re: RE: How to verify that I can see a Gem from Rails?
I have it installed. I''ve verified in filesystem and with gem -list. Something else is going on. I think it''s a problem with WEBrick. Berger, Daniel wrote:>> Given that Rails itself is a Gem, I''m a little confused. >> >> I don''t seem to be able to successfully get at my gem. > > Which gem? > > You can always look under your gem directory which should be > /usr/local/lib/ruby/gems/1.8/gems (replacing ''/usr/local'' with whatever > your actual prefix is). > > If it''s not there, you don''t have it installed (as a gem, anyway). > > Regards, > > Dan-- Posted via http://www.ruby-forum.com/.