Skip to content

Instantly share code, notes, and snippets.

@cnk
Created January 15, 2015 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnk/f9f454ff808c03fe5907 to your computer and use it in GitHub Desktop.
Save cnk/f9f454ff808c03fe5907 to your computer and use it in GitHub Desktop.
## afer installing ruby 2.2.0 with ruby_build_ruby
## and setting
# default['passenger']['ruby_bin'] = '/usr/local/bin/ruby'
# in my cookbook's attributes/default.rb
[vagrant@default-centos-65 ~]$ cat /etc/httpd/mods-enabled/passenger.conf
PassengerRoot /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/passenger-4.0.53
PassengerRuby /usr/local/bin/ruby
PassengerMaxPoolSize 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment