-
-
Notifications
You must be signed in to change notification settings - Fork 189
Pow
Robert Glaser edited this page May 16, 2014
·
4 revisions
chruby can be used with pow to select a specific Ruby per project, or system-wide.
To set a default Ruby for all pow apps, put the following in
~/.powconfig
.
source /etc/profile.d/chruby.sh
or, if you installed chruby with homebrew:
source /usr/local/share/chruby/chruby.sh
To set a Ruby for a single application put the following in .powrc
or
.powenv
in your applications root directory. See Choosing the Right
Environment Script in the pow
manual for details on which file to use.
source /etc/profile.d/chruby.sh
chruby $(cat .ruby-version)
Adjust the paths to match your install. This assumes that you have
installed a ruby that matches *1.9*
.