Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Require bundler dependencies dynamically

No longer depend on the bundler/setup file. If not using bundler when
developing specjour, simply overwrite the dev_setup to require rubygems,
or whatever fits your fancy.
  • Loading branch information...
commit f81c225169fde981b853ae044ebc60c9c9ea2754 1 parent 2007b73
@sandro authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  .dev
  2. +2 −0  dev_setup.rb
View
2  .dev
@@ -1,3 +1,3 @@
export RUBYLIB=`pwd`/lib
-export RUBYOPT="-r ubygems -r `pwd`/vendor/bundler/setup.rb"
+export RUBYOPT="-r ./dev_setup"
export PATH=`pwd`/bin:$PATH
View
2  dev_setup.rb
@@ -0,0 +1,2 @@
+require 'bundler'
+Bundler.require
Please sign in to comment.
Something went wrong with that request. Please try again.