Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


rails_application (14) Versions 0.1.2

Installs/Configures rails_application

cookbook 'rails_application', '= 0.1.2', :supermarket
cookbook 'rails_application', '= 0.1.2'
knife supermarket install rails_application
knife supermarket download rails_application
Quality -%

rails_application Cookbook

This cookbooks installs the server-side Rails application.
Unlike the official OpsCode cookbooks, this cookbook has all of the possible
tweaks externalized in the form of attributes - it was intended that this
cookbook is used by a wrapper cookbook that provides the attributes which
configure the rails application per the requirements of the actual application.

This cookbook replaces the unicorn process supervisor to be upstart instead of
runit, it means that it will work on Ubuntu systems, later versions might allow
customizing the process supervisor as well.


Tested on Ubuntu 12.04 and depends on several OpsCode official cookbooks that
actually do the majority of the work.


This cookbook depends on several OpsCode cookbooks, namely -
  • git
  • ruby
  • nginx
  • unicorn
  • application
  • application_ruby
  • application_nginx
for the rails_application::database_credentials cookbook, you also need -
  • database

Several of the above required minor modifications, all of these have pull
requests and tickets with OpsCode, but until these get accepted, forks that
include the modifications are available here -

application cookbook
application_nginx cookbook
application_ruby cookbook (no pull requests at this time)
OpsCode cookbooks are available at -



<td>which ruby version to use, see: ruby cookbook</td>
<td>how to call the application</td>
<td>where the application is deployed to</td>
<td>rails/rack environment name</td>
<td>user name to own files and processes</td>
<td>group name to own files and processes</td>
<td>additional packages that need to be installed for the application to work</td>
<td><tt>[ ]</tt></td>
<td>additional system-wide gems that need to be installed for the application to work</td>
<td><tt>[ ]</tt></td>



Just include rails_application in your node's run_list:

  "run_list": [


This cookbook is still a work in progress, you are welcome to help by
contributing fixes, documentation and tests.


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors


See [LICENSE](LICENSE) for full details.


Dependent cookbooks

git >= 0.0.0
ruby >= 0.0.0
nginx >= 0.0.0
unicorn >= 0.0.0
application >= 0.0.0
application_ruby >= 0.0.0
application_nginx >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found