Fix dependance on Rails existing.