[DRE-maint] Bug#649775: Bug#649775: rbenv: Does not work with non-root installed gems
Brandon Simmons
brandon.m.simmons at gmail.com
Fri Nov 25 15:38:43 UTC 2011
On Fri, Nov 25, 2011 at 7:39 AM, Antonio Terceiro <terceiro at debian.org> wrote:
> Brandon Simmons escreveu isso aí:
>> Package: rbenv
>> Version: 0.1.2+git20100922-1
>> Severity: normal
>>
>> Dear Maintainer,
>> I prefer not to install gems as root, e.g.
>>
>> $ gem install passenger --user-install
>>
>> rbenv doesn't seem to create shims for user-installed binaries
>>
>> $ rbenv which passenger-install-nginx-module
>> rbenv: passenger-install-nginx-module: command not found
>>
>> is this expected behavior? is there a workaround?
>
> Did you run `rbenv rehash` after installing the passenger gem?
Yes, I did
>
> If you did, I'll need you to describe your setup:
Installing the passenger gem was done in a directory with a local ruby
version set to 1.8.
jberryman ~ » rbenv version
1.9.3-debian (set by /home/me/.rbenv/global)
The following are from the working directory with the local ruby set:
>
> rbenv versions
* 1.8.7-debian (set by /home/me/Work/LabArchives/labarchives/.rbenv-version)
1.9.3-debian
> rbenv version
1.8.7-debian (set by /home/me/Work/Fook/fook/.rbenv-version)
> which ruby
/home/me/.rbenv/shims/ruby
> ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [i486-linux]
> which gem
/home/me/.rbenv/shims/gem
> gem -v
1.8.10
> ruby -rubygems -e 'puts Gem.dir'
/var/lib/gems/1.8
> ruby -rubygems -e 'puts Gem.bindir'
/usr/local/bin
>
> --
> Antonio Terceiro <terceiro at debian.org>
>
Thanks for your help.
More information about the Pkg-ruby-extras-maintainers
mailing list