Added Ruby2.0 declaration and rails 4.0.0