Moved ruby required to new file