move ruby setup into rakefile