fix activerel bug and gemfile for travis