$ gem update
Updating installed gems
Nothing to update
HQ
HQ:motherlode_ruby rich$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Users/rich/.rvm/gems/ruby-2.2.3/bin/passenger-config
HQ:motherlode_ruby rich$ which passenger
/Users/rich/.rvm/gems/ruby-2.2.3/bin/passenger
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Users/rich/.rvm/gems/ruby-2.2.3/bin/passenger-config
HQ:motherlode_ruby rich$ which passenger
/Users/rich/.rvm/gems/ruby-2.2.3/bin/passenger
/Users/rich/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'passenger' (>= 0) among 11 total gem(s) (Gem::LoadError)
What problem are you exactly experiencing? It appears your problem is
"Passenger does not start" but I do not see anything in the output of
your post that demonstrates the problem.
Looks like a gem installation issue. Try 'gem install passenger'. 'gem
update' doesn't do anything you need.
On Wed, Sep 16, 2015 at 6:01 AM, BeeRich33 <bee...@gmail.com> wrote:
> So am I supposed to use homebrew or not for installation? Is homebrew
> recognized?
Homebrew is preferred if you are on OS X. However, you have already
installed Passenger via RubyGems. You should only have a single
Passenger installation.
It is more important that you have a *correct* installation, than
which installation method you use. Both Homebrew and RubyGems are
supported. Homebrew is supported, but RubyGems is not wrong. So pick
one of the two, but not both of them. So if you install Passenger via
Homebrew, uninstall the RubyGems version first.
> Is nginx not supposed to be set up using homebrew?
> That's what
> the Passenger installation notes indicate.
> https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/nginx/oss/osx/install_passenger.html
Nginx can be setup using Homebrew just fine.
https://www.phusionpassenger.com/library/install/nginx/install/oss/osx/
Where on that page did you read that you are not supposed to setup
Nginx via Homebrew?
> gem update should work as passenger is in my Gemfile. Passenger 5.0.18 is
> installed at the moment.
You are not supposed add passenger to the Gemfile. You are not
supposed to run 'gem update'. The above installation guide doesn't
mention either of those.
> How can I start fresh to get all of this going? I've run through the
> homebrew installation on the website and it doesn't work.
> I've used gem
> install passenger and it doesn't work. It ins't responding to anything.
Remove every trace of Passenger on your system, then follow the guide
from scratch. So 'gem uninstall passenger'. 'brew uninstall passenger
nginx'. Remove passenger from Gemfile. Then start from the beginning.
What isn't working with the Homebrew part? Can you be specific? I need
to know the exact steps you took, your exact configuration, your exact
error messages.
Also: just follow *one* guide and stick with that. Many problems are
caused by following multiple mutually incompatible guides and then
ending with a spaghetti system. If something doesn't work, you should
investigate that first instead of immediately trying something else.
sudo cp /usr/local/opt/nginx/*.plist /Library/LaunchDaemonssudo chown root:wheel /Library/LaunchDaemons/homebrew.mxcl.nginx.plistsudo launchctl bootstrap system /Library/LaunchDaemons/homebrew.mxcl.nginx.plistsudo launchctl kickstart system/homebrew.mxcl.nginx
ps aux | grep nginx