javascript dependencies to gemfile