Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Ruby equivalent of python setup.py develop?

Tags:

ruby

rvm

gem

I am new to ruby and need to debug some ruby app packaged as a gem.

I am using rvm, where I installed the package as a gem, and also have a fresh github checkout of that package. How can I tell my rvm environment to use the code in the github repo instead of the installed gem?

This is the equivalent of python setup.py develop for people familiar with python.

Setuptools allows you to deploy your projects for use in a common directory or staging area, but without copying any files. Thus, you can edit each project’s code in its checkout directory

https://pythonhosted.org/setuptools/setuptools.html#development-mode

like image 512
David Cournapeau Avatar asked Jul 19 '12 08:07

David Cournapeau


1 Answers

Yup, you can.

Check out Bundler. It's the de facto standard to use it.

like image 94
Stefan Kanev Avatar answered Jan 02 '23 08:01

Stefan Kanev