Is there a good reason why gem install installs to ~/.gem rather than
bombing out if it cannot write to where should?

2009/4/2 Conrad Taylor <[email protected]>

> Great.
>
>
> On Thu, Apr 2, 2009 at 1:21 AM, thitima panyayai <[email protected]>wrote:
>
>> thank you very much
>> it's wok .............. -___-
>>
>>
>> 2009/4/2 Conrad Taylor <[email protected]>
>>
>>> Now, please try the following:
>>> a)  Remove the .gem directory in your home directory
>>>
>>>      rm -rf ~/.gem
>>>
>>> b)  Reinstall will_paginate
>>>
>>>       sudo gem install mislav-will_paginate
>>>
>>> -Conrad
>>>
>>> On Thu, Apr 2, 2009 at 1:04 AM, thitima panyayai <[email protected]>wrote:
>>>
>>>> ap...@inspiron1420:~/www/rcc_eri$ gem -v
>>>> 1.3.1
>>>> ap...@inspiron1420:~/www/rcc_eri$ ruby -v
>>>> ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
>>>>
>>>>
>>>>
>>>> 2009/4/2 Conrad Taylor <[email protected]>
>>>>
>>>>> Please run the following commands and post the output.
>>>>>
>>>>> gem -v
>>>>> ruby -v
>>>>>
>>>>> -Conrad
>>>>>
>>>>> On Thu, Apr 2, 2009 at 12:40 AM, thitima panyayai 
>>>>> <[email protected]>wrote:
>>>>>
>>>>>> i try gem install mislav-will_paginate
>>>>>> i get this
>>>>>> >>>WARNING:  Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and
>>>>>>       /usr/bin aren't both writable.
>>>>>> >>>WARNING:  You don't have /home/apple/.gem/ruby/1.8/bin in your
>>>>>> PATH,
>>>>>>       gem executables will not run.
>>>>>> Successfully installed mislav-will_paginate-2.3.8
>>>>>> 1 gem installed
>>>>>> Installing ri documentation for mislav-will_paginate-2.3.8...
>>>>>> Installing RDoc documentation for mislav-will_paginate-2.3.8...
>>>>>>
>>>>>>
>>>>>> 2009/4/2 Conrad Taylor <[email protected]>
>>>>>>
>>>>>> On Thu, Apr 2, 2009 at 12:23 AM, [email protected] <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Hello ,
>>>>>>>> i stall will_paginate plug in by using
>>>>>>>> >>mkdir vendor/plugins/will_paginate
>>>>>>>> >> wget -nv http://github.com/mislav/will_paginate/tarball/master-O- | 
>>>>>>>> >> \tar xzv -C vendor/plugins/will_paginate --strip 1
>>>>>>>> >>i get this
>>>>>>>> >>
>>>>>>>> [snip error details]
>>>>>>>> >>>pls ,tell me what i missing?
>>>>>>>> thank you
>>>>>>>>
>>>>>>>
>>>>>>> Hi, did you try installing it as a gem?  For example,
>>>>>>>
>>>>>>> gem install mislav-will_paginate
>>>>>>>
>>>>>>> -Conrad
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to