This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I just noticed that nokogiri is linked to the system libxml 2.7.3, not fink's 2.7.8. | |
Not sure what environment variable to set to fix this. | |
Note that nokogiri-1.5.0/ext/nokogiri/extconf.rb's HEADER_DIRS and LIB_DIRS list MacPorts' /opt/local, but not fink's /sw, and that in any case I use a non-standard fink location, /fink. | |
Solved using: | |
$ gem install nokogiri -- --with-xml2-lib=/fink/lib \ | |
--with-xml2-include=/fink/include/libxml2 \ | |
--with-xslt-lib=/fink/lib \ | |
--with-xslt-include=/fink/include |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Restart a Heroku Web Application | |
## Adapted from a script by mscottford for restarting workers: https://gist.github.com/2028552 | |
## Instructions: | |
## * Save this script in lib/tasks | |
## * Gemfile: gem 'heroku-api', :git => 'https://github.com/heroku/heroku.rb.git' | |
## * Commit Gemfile* and lib/tasks | |
## * $ heroku config:add APP_NAME='name of the Heroku app' | |
## * $ heroku config:add HEROKU_API_KEY='the API key found on the Heroku "My Account" page' | |
## * Deploy and test with $ heroku run rake heroku:webs:restart[10] (Look at process uptime with $ heroku ps) |