Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Problem with gems

Reply
Thread Tools

Problem with gems

 
 
cypher.dp@gmail.com
Guest
Posts: n/a
 
      06-21-2007
Hello everybody !

I just installed some gem but when I want to use it Ruby comes up with
a "no such file to load" message. Has anyone an idea where gem
installs the packages ? Or what did I do wrong ?

Dominik

 
Reply With Quote
 
 
 
 
chris.stearns@gmail.com
Guest
Posts: n/a
 
      06-21-2007
You may need to do this:

require 'rubygems'
before requiring your gem


 
Reply With Quote
 
 
 
 
MenTaLguY
Guest
Posts: n/a
 
      06-21-2007
On Fri, 22 Jun 2007 05:31:58 +0900, wrote:
> I just installed some gem but when I want to use it Ruby comes up with
> a "no such file to load" message. Has anyone an idea where gem
> installs the packages ? Or what did I do wrong ?


Did you require 'rubygems'?

-mental


 
Reply With Quote
 
cypher.dp@gmail.com
Guest
Posts: n/a
 
      06-22-2007
Okay, now it's working.
Thanks a lot for your help !

Dominik


2007/6/21, <>:
> You may need to do this:
>
> require 'rubygems'
> before requiring your gem
>
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating binary gems, from source gems Patrick Hurley Ruby 0 03-04-2007 09:47 PM
Problem getting gems/listing gems. EINVAL Thaddeus L Olczyk Ruby 0 08-15-2006 05:26 AM
Gems -- #include <gems.hpp> Tomás C++ 7 03-05-2006 02:48 PM
'private' gems/gems hierarchy Dany Cayouette Ruby 3 11-25-2005 10:55 PM
Confusion about gems and non-gems working together. Lloyd Zusman Ruby 3 06-20-2005 11:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57