Specify ruby version in the gemfile.
Twitter callback route and locgic.