Hi folks. I can't seem to get www/nginx installed with Passenger on 10.1.
RVM is installed.
Here are the last lines of the ports installation:
I never used sudo for RVM installation.
I'm a bit lost as to what to do. Any insight appreciated.
Cheers
RVM is installed.
Code:
$ rvm gemset list
gemsets for ruby-2.2.3 (found in /home/rich/.rvm/gems/ruby-2.2.3)
=> (default)
global
$ rvm list
rvm rubies
=* ruby-2.2.3 [ x86_64 ]
# => - current
# =* - current && default
# * - default
$ rvm info
ruby-2.2.3:
system:
uname: "FreeBSD shuttle.local 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64"
system: "freebsd/10.1/x86_64"
bash: "/usr/local/bin/bash => GNU bash, version 4.3.42(1)-release (amd64-portbld-freebsd10.1)"
zsh: " => not installed"
rvm:
version: "rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]"
updated: "44 minutes 49 seconds ago"
path: "/home/rich/.rvm"
ruby:
interpreter: "ruby"
version: "2.2.3p173"
date: "2015-08-18"
platform: "x86_64-freebsd10.1"
patchlevel: "2015-08-18 revision 51636"
full_version: "ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-freebsd10.1]"
homes:
gem: "/home/rich/.rvm/gems/ruby-2.2.3"
ruby: "/home/rich/.rvm/rubies/ruby-2.2.3"
binaries:
ruby: "/home/rich/.rvm/rubies/ruby-2.2.3/bin/ruby"
irb: "/home/rich/.rvm/rubies/ruby-2.2.3/bin/irb"
gem: "/home/rich/.rvm/rubies/ruby-2.2.3/bin/gem"
rake: "/home/rich/.rvm/rubies/ruby-2.2.3/bin/rake"
environment:
PATH: "/home/rich/.rvm/gems/ruby-2.2.3/bin:/home/rich/.rvm/gems/ruby-2.2.3@global/bin:/home/rich/.rvm/rubies/ruby-2.2.3/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/rich/bin:/home/rich/.rvm/bin"
GEM_HOME: "/home/rich/.rvm/gems/ruby-2.2.3"
GEM_PATH: "/home/rich/.rvm/gems/ruby-2.2.3:/home/rich/.rvm/gems/ruby-2.2.3@global"
MY_RUBY_HOME: "/home/rich/.rvm/rubies/ruby-2.2.3"
IRBRC: "/home/rich/.rvm/rubies/ruby-2.2.3/.irbrc"
RUBYOPT: ""
gemset: ""
Here are the last lines of the ports installation:
Code:
mkdir -p 'buildout/ruby/ruby-2.2.3-x86_64-freebsd10.1/'
Unable to autodetect the currently active RVM gem set name. This could happen if you ran this program using 'sudo' instead of 'rvmsudo'. When using RVM, you're always supposed to use 'rvmsudo' instead of 'sudo!'.
Please try rerunning this program using 'rvmsudo'. If that doesn't help, please contact this program's author for support.
===> Script "configure" failed unexpectedly.
Please report the problem to osa@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/nginx/work/nginx-1.8.0/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/nginx
*** Error code 1
Stop.
make: stopped in /usr/ports/www/nginx
I never used sudo for RVM installation.
I'm a bit lost as to what to do. Any insight appreciated.
Cheers