source 'https://rubygems.org' git_source(:github) do |repo_name| repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/") "https://github.com/#{repo_name}.git" end github 'rails/rails', branch: 'main' do gem 'railties' gem 'activerecord', require: 'active_record' gem 'actionview', require: 'action_view' end gem 'selenium-webdriver' platforms :ruby do gem 'sqlite3', require: false gem 'pg', require: false gem 'mysql2', require: false end platforms :jruby do gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0' gem 'activerecord-jdbcpostgresql-adapter', require: false gem 'activerecord-jdbcmysql-adapter', require: false end if RUBY_ENGINE == 'rbx' platforms :rbx do gem 'rubysl', '~> 2.0' gem 'racc' gem 'minitest' gem 'rubinius-developer_tools' end end gemspec path: '../'