What is the npm Ruby equivalent?

If you are the source of the Nodejs project, the npm link team installs it in such a way that any changes you make are applied everywhere, without the need for reinstallation.

The npm link is designed to install the development package and view changes in real time without the need to reinstall it.

https://www.npmjs.org/doc/misc/npm-developers.html#link-packages

Is there an analogue for Ruby projects?

+5
source share
1 answer

Ruby's equivalent should use the :path parameter when specifying a gem in your Gemfile. It will look something like this.

 gem "mylocalgem", :path => "/path/to/local/gem/dir/" 

If you are trying to do this globally by default ruby โ€‹โ€‹of the system, you can do one of the following.

 gem install --local path_to_gem/filename.gem 

or just run the following from the directory where the .gem file exists and it will be raised.

 gem install 
0
source

Source: https://habr.com/ru/post/1204520/


All Articles