fix rbenv env, cpp snip