update rails + cdn script