Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

196
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda