mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
90a4859085
I've embedded a little Rails app so that we can write cuke tests and
make sure that stuff doesn't break. Woo!
This was generated by making a rails engine, then copying just the
app over.
Thanks @nashby for fixing my stupid bug with sqlite3; it had to be
added as a development dependency. ❤️
10 lines
No EOL
235 B
Ruby
10 lines
No EOL
235 B
Ruby
require 'rubygems'
|
|
gemfile = File.expand_path('../../../../Gemfile', __FILE__)
|
|
|
|
if File.exist?(gemfile)
|
|
ENV['BUNDLE_GEMFILE'] = gemfile
|
|
require 'bundler'
|
|
Bundler.setup
|
|
end
|
|
|
|
$:.unshift File.expand_path('../../../../lib', __FILE__) |