Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

192
Views
How to launch a editor with better_errors in WSL environments

I'm using better_errors gem in WSL environments.

When I used Mac, I could open a file by clicking error page's file path like below. enter image description here

I have this line in config/environments/development.rb.

BetterErrors.editor='x-mine://open?file=%{file}&line=%{line}' if defined?(BetterErrors)

The link URL seems properly created.

x-mine://open?file=%2Fhome%2Fironsand%2Fdev%2Fmyapp%2Fapp%2Fcontrollers%2Fcompanies_controller.rb&line=12`

How can I open a URL start with x-mine: in Windows?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

From Microsoft documentation itself, you have to hack your way through the system registry.

You need to set it up like the following:

HKEY_CLASSES_ROOT
   x-mine
      (Default) = "URL:RubyMine Protocol"
      URL Protocol = ""
      shell
         open
            command
               (Default) = "C:\Program Files\IntelliJ\mine.exe" "%1"

(you might have to change your path for it to point to the actual path of where you have installed RubyMine).

See https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa767914(v=vs.85)?redirectedfrom=MSDN for more details.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!