source 'https://rubygems.org' # Specify your gem's dependencies in serverspec.gemspec gemspec # Put Gemfile.local to use arbitrary gems for your use case. path = Pathname.new("Gemfile.local") eval(path.read) if path.exist?