Skip to content

Commit

Permalink
Require bundler dependencies dynamically
Browse files Browse the repository at this point in the history
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
sandro committed Oct 15, 2012
1 parent 2007b73 commit f81c225
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .dev
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions dev_setup.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require 'bundler'
Bundler.require

0 comments on commit f81c225

Please sign in to comment.