Install rails gem and minimal test gems