DEV: ensures stylesheet watcher isn't crashing with gems plugins (PR #12733)

This bug has been exhibited since discourse_dev is now including an auth plugin which was loaded as a relative path instead of an absolute path, eg:

Users/bob/.gem/ruby/2.6.6/gems/discourse_dev-0.1.0/auth/plugin.rb

Instead of

/Users/bob/.gem/ruby/2.6.6/gems/discourse_dev-0.1.0/auth/plugin.rb

GitHub

This looks fine, but IMO the discourse_dev gem shouldn’t load a plugin in this way. Maybe it can have a rake task that installs the plugin in the usual location?

I guess this is a question for @vinothkannans.

@pmusaraj @davidtaylorhq following your comments I’m just ignoring this special case.

➜  pr-discourse (sylesheet-watcher-gem-plugins) ✗ drails
I, [2021-04-16T15:11:20.014889 #80895]  INFO -- : Refreshing Gem list
Starting CSS change watcher
[stylesheet watcher] Ignoring outside of rails root plugin: /Users/joffreyjaffeux/.gem/ruby/2.6.6/gems/discourse_dev-0.1.0/auth/plugin.rb
^C^CI, [2021-04-16T15:11:32.320156 #80895]  INFO -- : listening on addr=127.0.0.1:9292 fd=16
I, [2021-04-16T15:11:37.465995 #80895]  INFO -- : starting 1 supervised sidekiqs