Fix bundler installation using wrong Ruby interpreter
Add snippet for filtering out prerelease rubies