Skip to content

Instantly share code, notes, and snippets.

@dcolebatch
Created September 11, 2012 21:20
Show Gist options
  • Save dcolebatch/3702154 to your computer and use it in GitHub Desktop.
Save dcolebatch/3702154 to your computer and use it in GitHub Desktop.
torquebox binstub
17:18 jruby-1.7.0.preview2 ~/some-server (package)$ cat bin/torquebox
#!/usr/bin/env jruby
#
# This file was generated by Bundler.
#
# The application 'torquebox' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require 'rubygems'
require 'bundler/setup'
load Gem.bin_path('torquebox', 'torquebox')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment