Skip to content

Instantly share code, notes, and snippets.

thebes:2.0.7 kunal$ tree
.
├── AUTHORS
├── COPYING
├── ChangeLog
├── README
├── bin
│   ├── zmq_forwarder
│   ├── zmq_queue
│   └── zmq_streamer
#!/usr/bin/env ruby
require File.join(File.dirname(__FILE__), '..', 'environment') # note: not the rails env, my own thing
setup_bundler
setup_resque # boots redis, boots resque, connects them
require 'daemons'
require 'yaml'
require 'formula'
class Htmldoc <Formula
url 'http://ftp.easysw.com/pub/htmldoc/snapshots/htmldoc-1.9.x-r1629.tar.bz2'
homepage 'http://www.htmldoc.org/'
md5 'a5982321cadbadaef9ec59c10733b9df'
depends_on 'jpeg'
depends_on 'libpng'
gcc -I. -I/usr/local/lib/ruby/1.8/x86_64-linux -I/usr/local/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -Os -fno-strict-aliasing -c native_support.c
make: gcc: Command not found
make: *** [native_support.o] Error 127
(rdb:3) @controller.send :default_url_options
{:foo=>"bar"}
(rdb:3) new_post_path
"/posts/new"
(rdb:3) new_post_path(nil)
"/posts/new?foo=bar"
*HEAD EXPLODES*
https://rails.lighthouseapp.com/projects/8994/tickets/1251-default_url_options-cant-be-used-with-named-routes