updating to ruby 2, rails 4.1.1 and fixing issues - Nick B