[DRE-maint] Bug#649775: Bug#649775: rbenv: Does not work with non-root installed gems

Antonio Terceiro terceiro at debian.org
Fri Nov 25 12:39:49 UTC 2011


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?

If you did, I'll need you to describe your setup:

rbenv versions
rbenv version
which ruby
ruby -v
which gem
gem -v
ruby -rubygems -e 'puts Gem.dir'
ruby -rubygems -e 'puts Gem.bindir'

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20111125/bab9c47b/attachment.pgp>


More information about the Pkg-ruby-extras-maintainers mailing list