Use platforms directive in gemfile