Just a few weeks prior, Portland was one of the first cities in the country to draft rules that allowed Airbnb, the home-sharing startup, to operate legally within the city’s confines. And for more than a year, the hope was that such a forward-thinking city could do the same with ride-sharing.