senny / rvm.el

use rvm to manage ruby versions within emacs
214 stars 42 forks source link

rvm-activate-corresponding-ruby extremely slow on OSX #54

Closed AshtonKem closed 3 years ago

AshtonKem commented 7 years ago

I'm currently using spacemacs on OSX (10.11.6) using Emacs 25.1.1. Running rvm-activate-corresponding-ruby takes up to 8 seconds on my machine, which is just far too slow to be added to a mode-hook or similar.

sshaw commented 6 years ago

Hi @AshtonKem,

Are you seeing this when use run the command interactively?

What file contains your ruby version (Gemfile, .ruby-info, ...) and what's the file's size?

Do you see this when running it from a shallow directory structure?

sshaw commented 3 years ago

Note that the 1.4.1 added an additional check using bundle config. Would be interested in knowing if this causes additional slowdown for you.

AshtonKem commented 3 years ago

Sorry, I stopped using Emacs quite a while ago. Won't be able to meaningfully reproduce this anymore.