Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Allow bin/crxmake to run in-place #8

Merged
merged 1 commit into from

2 participants

Gopal V Yusuke Suzuki
Gopal V

Wanted to build and run crxmake without installation of the crxmake gem.

Yusuke Suzuki

Thanks! Merging.

Yusuke Suzuki Constellation merged commit 7d176de into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 17, 2013
  1. Gopal V
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/crxmake
7 bin/crxmake
View
@@ -2,7 +2,12 @@
# vim: fileencoding=utf-8
require 'rubygems'
require 'optparse'
-require 'crxmake'
+begin
+ require 'crxmake'
+rescue LoadError
+ # require_relative is 1.9 only
+ require File.expand_path("../../lib/crxmake", __FILE__)
+end
data = {}
usage = <<-EOS
Something went wrong with that request. Please try again.