dejan / rails_panel

Chrome extension for Rails development
https://chromewebstore.google.com/detail/railspanel/gjpfobpafnhjhbajcjgccbbdofdckggg
MIT License
3.85k stars 188 forks source link

Introduce source_path configuration #162

Closed dejan closed 5 years ago

dejan commented 5 years ago

The change addresses the problem described in: https://github.com/dejan/rails_panel/issues/128

The new config option is added that allows override of the source path (by default it's Rails.root). Using this it's possible to run the app in the Docker container and still get the correct file paths (from the host system):

services:
  app:
    environment:
      - SOURCE_PATH=$PWD