Add assets only in Rails environment.