# Different requirements for packages, using, building, and testing

**URL:** <https://discourse.julialang.org/t/different-requirements-for-packages-using-building-and-testing/2170>\
**Category:** General Usage\
**Tags:** package\
**Created:** [February 18, 2017, 10:58am UTC](https://discourse.julialang.org/t/different-requirements-for-packages-using-building-and-testing/2170 "2017-02-18T10:58:38Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![djsegal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/djsegal/32/13752_2.png) [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Post date:** [February 19, 2017, 4:23pm UTC](https://discourse.julialang.org/t/different-requirements-for-packages-using-building-and-testing/2170/8 "2017-02-19T16:23:37Z")

</div>

Isn’t this what got discussed in: [Development, Test, and Production Environments](https://discourse.julialang.org/t/development-test-and-production-environments/1974)?

with it you can do something like this for REQUIRE:

```julia
gem 'httparty'

group :development, :test do
  gem 'better_errors'
end

group :production do
  gem 'postgres'
end

```

// edit: i just used a gemfile instead of a require file because i had one on hand

---

_[View the full topic](https://discourse.julialang.org/t/different-requirements-for-packages-using-building-and-testing/2170)._
