2
2

More than 5 years have passed since last update.

Rubyのflymakeが正しく動作しない時

Last updated at Posted at 2012-06-29

具体的にはRuby1.9以降のハッシュ記法

hash.rb
{ key: value }

がエラー行と見なされていた。
実はflymakeはrubyを呼び出していて、Ruby1.9はrvmで入れていたので、システムのRuby1.8.7が呼び出されていた。
rvm.el https://github.com/senny/rvm.el
をloadpathの通った所に入れて、.emacsに

rvm-settings.el
;; rvm
(when (require 'rvm nil t)
  (rvm-use-default))

で解決。

2
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2