https://github.com/tf/bundler-link
A link command inspired by npm link
https://github.com/tf/bundler-link
Last synced: over 1 year ago
JSON representation
A link command inspired by npm link
- Host: GitHub
- URL: https://github.com/tf/bundler-link
- Owner: tf
- Created: 2015-07-29T18:01:40.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-30T16:30:38.000Z (almost 11 years ago)
- Last Synced: 2025-01-30T18:43:39.912Z (over 1 year ago)
- Language: Ruby
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Bundler Link
**STATUS: Under development**
---
A bundler command to quickly link up gems from your local filesystem
inside your Gemfile.
## Installation
Install the additional Bundler command.
$ gem install bundler-link
## Usage
First go to the development directory of the gem you want to link:
$ cd ~/my_gem
$ bundle link
This creates a symlink to your project under
`~/.bundler-link/gems/my_gem`. Then go to a project using your gem.
$ cd ~/other_project
$ bundle link my_gem
Changes the gem's `Gemfile` entry to link to a the local checkout via
the `:path` option.
Changes in the `Gemfile` can be undone by a running:
$ bundle unlink my_gem
## Development
After checking out the repo, run `bin/setup` to install
dependencies. Then, run `rake spec` to run the tests. You can also run
`bin/console` for an interactive prompt that will allow you to
experiment.
To install this gem onto your local machine, run `bundle exec rake
install`. To release a new version, update the version number in
`version.rb`, and then run `bundle exec rake release`, which will
create a git tag for the version, push git commits and tags, and push
the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at
https://github.com/[USERNAME]/bundler-link. This project is intended
to be a safe, welcoming space for collaboration, and contributors are
expected to adhere to the
[Contributor Covenant](https://contributor-covenant.org) code of
conduct.