Made rails the only depenendcy
Updated lock