RVM is similar to virtualenv also checkout rbenv (maybe more like virtualenv)
Bundler for packaging dependencies for development and deployment, works like setup.py and pip (I did not use pip, it seems to have some rubygems and Bundler functions)
Bundler Gemfile is similar to protocol requirements file
Bundler will install the dependencies in your development directory and pack them for deployment.
Directory layouts look like this:
/ - lib - classes / modules etc. bin - executables things you want on $PATH test - unit tests
Jeweler is a good tool for setting up, saving and releasing gems.
EDIT:
Here are some other resources:
Some links to the Ruby layout:
Some for Python:
- What is the best project structure for a Python application?
- Initialize project layout in python?
Here you do a tool comparison:
drnewman
source share