https://github.com/afeiship/project_path
Ruby gem for project path.
https://github.com/afeiship/project_path
path root-path
Last synced: 2 months ago
JSON representation
Ruby gem for project path.
- Host: GitHub
- URL: https://github.com/afeiship/project_path
- Owner: afeiship
- Created: 2016-09-21T17:40:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-03T03:55:22.000Z (about 8 years ago)
- Last Synced: 2025-01-06T08:08:56.723Z (5 months ago)
- Topics: path, root-path
- Language: Ruby
- Size: 1.4 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# project_path
Ruby gem for project path.## usage:
```ruby
## create Gemfile:## Add below contents to file:
# gem 'project_path', git: '[email protected]:afeiship/project_path.git', submodules: true## enjoy it
require 'bundler/setup'
require 'project_path'
p ProjectPath.discover_root;
```## usage:
+ make sure your project managed by .git## maybe you shoud use this style
```bash
gem install specific_install
gem specific_install -l# gem specific_install -l [email protected]:afeiship/project_path.git
```
## uninstall:
```bash
gem uninstall project_path
```## resource: