class Bundler::Repository

def require_code(file, dep)

def require_code(file, dep)
  constraint = case
  when dep.only   then %{ if #{dep.only.inspect}.include?(env)}
  when dep.except then %{ unless #{dep.except.inspect}.include?(env)}
  end
  "require #{file.inspect}#{constraint}"
end