Some common steps to start working on a project (in your company or a open source one) is:
- Clone it's git repository;
- Create a new gemset to isolate the project dependencies;
- Let bundler install all the needed gems.
Engage aims to provide a single command to run all those tasks. All you need to do is provide the project's name and it's git server.
First, you can set your common git servers - the default list include only
engage add firstname.lastname@example.org
After that you can start a project by just running:
engage init some_project
Behind the curtains, engage will:
- Prompt the git server to use - either "github.com" or "acme.com";
- Clone the some_project repository form the selected server -
- Create a gemset name
some_projectand a .rvmrc file;
- Run bundler to install all the dependencies.
engage init [PROJECT] [DIRECTORY] # init a new project from one of the registered sources engage add [SOURCE] # register the given source to `~/.engage.sources` engage list # list all the registered sources