Created by: gracewashere
Problem:
When a contributor tries to run the example app by cd
ing into
spec/example_app
, running bundle install
, and running the server,
the Gemfile downloads a separate copy of Administrate from the master
branch on Github. This prevents the contributor from testing out any
local changes to the Administrate source.
We cannot simply reference the relative path to the local Administrate source, because that would make Heroku deploys fail.
Solution:
Check the Rack environment to determine which source Bundler should use for Administrate.
Contributors can now run bundle install
and foreman start
from their
spec/example_app
directory to test local changes to Administrate.