add validate for activities and change Gemfile source to ruby