trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 208 forks source link

Xiki needs to be required before include. #57

Closed nightscape closed 11 years ago

nightscape commented 11 years ago

I also put the xiki_dir into the LOAD_PATH otherwise there are errors when requiring further files.

trogdoro commented 11 years ago

No need to load xiki.rb since the ruby running in vim is just a thin layer (it delegates to the 'xiki' shell command to do most of the work, which can load itself properly). Also worth avoiding since some of the vims seem to be hard-coded to ruby 1.8 (wouldn't want to make xiki.rb be tied to 1.8).

I just changed the order to avoid the load error:

https://github.com/trogdoro/xiki/commit/9cf1e96100b3d97b208afccbcb0e703e086dbdde

Re the LOAD_PATH, might as well wait until something in a commit requires that.