Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Merge requests
  • !168

Use local version of administrate in development

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge gw-local-server into master Nov 06, 2015
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: gracewashere

Problem:

When a contributor tries to run the example app by cding 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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gw-local-server