rvm 管理 ruby 版本和 gem 包,安装 passegner ,brew 安装了 nginx
passenger-config --root
:/Users/mile001/.rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.11
which ruby
:/Users/mile001/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
然后配置 nginx.conf
passenger_root /Users/mile001/.rvm/gems/ruby-1.9.3-p125/gems/passenger--3.0.11 passenger_ruby /Users/mile001/.rvm/rubies/ruby-1.9.3-p125/bin/ruby;
nginx -s reload
结果就悲催了: cannot load such file -- bundler
gem list bundler
bundler (1.1.3, 1.1.0)
整了许久没有成功。请教一下这个是为什么呢? 外加一图