In addition to the previous answer.
Sometimes gems / packages provide an executable. The good thing with python setup.py develop is that you will always have the latest version of this executable in its path. It is very convenient for development. As far as I know, Gem does not provide such functionality. To emulate this, you can use the Bundler , and it is like this:
- First create a new Gemfile:
bundle init - Then edit this file and add the local Gem you are working on (for me it's Nanoc):
gem "nanoc", path: "path/to/local/nanoc" - Then, to access the executable provided by Gem, you can use bundler like this:
bundle exec nanoc ...
Here, bundle exec will take the Gem version from your Gemfile and use it. If this Gem is specified with the :path option, then it will use this.
Of course, it’s less convenient that in Python, but this is the closest solution I found in Ruby.
barraq
source share