Hi,
It seems to me like you are installing the rack gem as a different
user as the passenger installation.
You should either run them both _with_ sudo or both _without_ sudo.
Kind regards,
Tinco
On Wed, Nov 7, 2012 at 2:52 AM, Band <
wideba...@gmail.com> wrote:
> I installed the passenger gem, but it didn't work with my old nginx. So I am
> trying to install nginx from the passenger script.
>
> I do $ sudo ./bin/passenger-install-nginx-module, which gives
>
> * rack... not found
> * To install rack:
> Please install RubyGems first, then run
> /home/dbadmin/.rvm/wrappers/ruby-1....@rails-3.1.1/gem install rack
>
> Although the rack gem is in fact installed. Anyway, I do
>
> $ /home/dbadmin/.rvm/wrappers/ruby-1....@rails-3.1.1/gem install rack
> Successfully installed rack-1.4.1
> 1 gem installed
> Installing ri documentation for rack-1.4.1...
> Installing RDoc documentation for rack-1.4.1...
>
> After this, $ sudo ./bin/passenger-install-nginx-module again says that *
> rack... not found.
>
> What might be happening?
>
> This is cross-posted on
http://stackoverflow.com/q/13262163/429850
>
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/phusion-passenger/-/TJg5LTvhxGcJ.
> To post to this group, send email to
phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
phusion-passen...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/phusion-passenger?hl=en.
--
Phusion | Ruby & Rails deployment, scaling and tuning solutions
Web:
http://www.phusion.nl/
E-mail:
in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)