senny / rvm.el

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

fix rvm--list-ruby-regexp, ando add rvm-gemset-list-regexp. #23

Closed cola-zero closed 12 years ago

cola-zero commented 12 years ago

completion for 'M-x rvm-use' is broken, because regexp for list and gem list are not compatible with current rvm.

cola-zero commented 12 years ago

I also fount that (rvm--call-process ruby-version "gemset" "list") at https://github.com/senny/rvm.el/blob/master/rvm.el#L212 always return gemset for current ruby version whether different ruby version are given.

This is what my rvm show. https://gist.github.com/1667982

senny commented 12 years ago

thanks for the insight. Seems like the latest rvm version really does not care about the passed ruby-name. The rvm.el CLI changes too frequently to get a stable release out. I contacted the author of rvm if there is some kind of programming API, which would have a more solid output.

cola-zero commented 12 years ago

Thank you to merge. I think it's not easy to get stable release. Please let me know anything I can help.

senny commented 12 years ago

@cola-zero I will. I really hope there is an interface in rvm.