Add autoload cookie for chruby function, and missing trailing line