source "https://rubygems.org" git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } branch = ENV.fetch('SOLIDUS_BRANCH', 'master') gem "solidus", github: "solidusio/solidus", branch: branch if ENV['RAILS_VERSION'] gem "rails", ENV['RAILS_VERSON'] end if ENV.fetch('DB') == 'postgres' gem 'pg' end group :development, :test do gem "pry" end gemspec