Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > gem libray name conflict problem

Reply
Thread Tools

gem libray name conflict problem

 
 
Heesob Park
Guest
Posts: n/a
 
      06-24-2009
Hi all,

When I saw "require 'inline'" in a ruby file, I thought the gem is
'inline'. So I runned "gem install inline" and it installed.
But the ruby file failed to run. After some inspection, I runned "gem
install RubyInline" and it installed. The ruby file still failed to
run.
Finally I runned "gem uninstall inline" and the ruby file runned to succeed.
I noticed there are two gems named inline: inline (0.1.0) and
RubyInline (3.8.2, 3.8.1).

I tried "gem search inline -r"
The output is
*** REMOTE GEMS ***

inline (0.1.0)
inline_attachment (0.4.0)
InlineAttachment (0.3.0)
InlineFortran (1.0.0)
RubyInline (3.8.2, 3.8.1)
RubyInlineAcceleration (0.0.1)

How to find out which gem's real library name is 'inline'?
How to avoid name conflict problem when I develop a new gem?

Regards,

Park Heesob

 
Reply With Quote
 
 
 
 
Ryan Davis
Guest
Posts: n/a
 
      06-24-2009

On Jun 23, 2009, at 21:51 , Heesob Park wrote:

> Hi all,
>
> When I saw "require 'inline'" in a ruby file, I thought the gem is
> 'inline'. So I runned "gem install inline" and it installed.
> But the ruby file failed to run. After some inspection, I runned "gem
> install RubyInline" and it installed. The ruby file still failed to
> run.
> Finally I runned "gem uninstall inline" and the ruby file runned to
> succeed.
> I noticed there are two gems named inline: inline (0.1.0) and
> RubyInline (3.8.2, 3.8.1).
>
> I tried "gem search inline -r"
> The output is
> *** REMOTE GEMS ***
>
> inline (0.1.0)
> inline_attachment (0.4.0)
> InlineAttachment (0.3.0)
> InlineFortran (1.0.0)
> RubyInline (3.8.2, 3.8.1)
> RubyInlineAcceleration (0.0.1)
>
> How to find out which gem's real library name is 'inline'?
> How to avoid name conflict problem when I develop a new gem?


I think I've talked to them before about that. I came first.

`gem which inline` is what you're looking for.



 
Reply With Quote
 
 
 
 
Heesob Park
Guest
Posts: n/a
 
      06-24-2009
2009/6/24 Ryan Davis <ryand->:
>
> On Jun 23, 2009, at 21:51 , Heesob Park wrote:
>
>> Hi all,
>>
>> When I saw "require 'inline'" in a ruby file, I thought the gem is
>> 'inline'. So I runned "gem install inline" and it installed.
>> But the ruby file failed to run. After some inspection, I runned "gem
>> install RubyInline" and it installed. The ruby file still failed to
>> run.
>> Finally I runned "gem uninstall inline" and the ruby file runned to
>> succeed.
>> I noticed there are two gems named inline: inline (0.1.0) and
>> RubyInline (3.8.2, 3.8.1).
>>
>> I tried "gem search inline -r"
>> The output is
>> *** REMOTE GEMS ***
>>
>> inline (0.1.0)
>> inline_attachment (0.4.0)
>> InlineAttachment (0.3.0)
>> InlineFortran (1.0.0)
>> RubyInline (3.8.2, 3.8.1)
>> RubyInlineAcceleration (0.0.1)
>>
>> How to find out which gem's real library name is 'inline'?
>> How to avoid name conflict problem when I develop a new gem?

>
> I think I've talked to them before about that. I came first.
>
> `gem which inline` is what you're looking for.
>

Thanks, but I want remote search.
`gem which inline --remote` is not working.

Regards,

Park Heesob

 
Reply With Quote
 
Mistress Janna Brossard
Guest
Posts: n/a
 
      06-24-2009

unsubscribe

__________________________________________________ _______________
Bing=99 brings you maps=2C menus=2C and reviews organized in one place. =
Try it now.
http://www.bing.com/search?q=3Dresta...3DWLHMTAG&cre=
a=3DTEXT_MLOGEN_Core_tagline_local_1x1=

 
Reply With Quote
 
Asif Iqbal
Guest
Posts: n/a
 
      06-24-2009
You need to send the email to ruby-talk-

On Wed, Jun 24, 2009 at 7:38 AM, Mistress Janna Brossard <
> wrote:

>
> unsubscribe
>
> __________________________________________________ _______________
> Bing=99 brings you maps, menus, and reviews organized in one place. Tr=

y it
> now.
>
> http://www.bing.com/search?q=3Dresta...l=3DWLHMTAG&c=

rea=3DTEXT_MLOGEN_Core_tagline_local_1x1




--=20
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

 
Reply With Quote
 
Eric Hodel
Guest
Posts: n/a
 
      07-22-2009
On Jun 23, 2009, at 22:55, Heesob Park wrote:
> 2009/6/24 Ryan Davis <ryand->:
>>
>>> How to find out which gem's real library name is 'inline'?
>>> How to avoid name conflict problem when I develop a new gem?

>>
>> I think I've talked to them before about that. I came first.
>>
>> `gem which inline` is what you're looking for.
>>

> Thanks, but I want remote search.
> `gem which inline --remote` is not working.


There's no easy way to implement a remote `gem which`.

 
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
"gem NAME, VERSION" && "require NAME" fails due to version conflict IƱaki Baz Castillo Ruby 3 02-28-2011 10:49 AM
Java Libray to extract email Contact Only from Outlook file pcouas Java 8 12-18-2010 05:46 PM
how to export functions in c/c++ static libray? news.videotron.ca C++ 1 02-10-2005 10:59 PM
c++ libray for http protocol B.C. C++ 4 11-06-2004 02:12 PM
help:how can i get the libray about bioinfromatics hugo C++ 1 08-16-2004 01:39 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