Fixed some package issues with Rails