https://github.com/afeiship/hash-query
Ruby gem for sync github repositry.
https://github.com/afeiship/hash-query
gem git repositry
Last synced: about 2 months ago
JSON representation
Ruby gem for sync github repositry.
- Host: GitHub
- URL: https://github.com/afeiship/hash-query
- Owner: afeiship
- Created: 2016-09-21T05:27:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T01:15:59.000Z (over 7 years ago)
- Last Synced: 2025-07-28T17:58:47.563Z (11 months ago)
- Topics: gem, git, repositry
- Language: Ruby
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gem_sync_repositry
Ruby gem for sync github repositry.
## usage:
```ruby
## create Gemfile:
## Add below contents to file:
# gem 'sync_repositry', git: 'git@github.com:afeiship/gem_sync_repositry.git', submodules: true
require 'bundler/setup'
require 'sync_repositry'
# SyncRepositry.hi;
SyncRepositry.clone_at 'https://github.com/wdavidw/node-printf.git','.tmp';
puts SyncRepositry.discover_root;
## will show:
# Time 00:00:05 1/100ᗧᗧᗧᗧᗧ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 1% Progres
```
## resource:
+ http://guides.rubygems.org/make-your-own-gem/#your-first-gem
+ http://blog.csdn.net/yangcs2009/article/details/42262073
## error:
> An error occurred while installing rugged
- https://stackoverflow.com/questions/27472234/an-error-occurred-while-installing-rugged
```bash
brew install cmake
bundle install
# Another error: Ignoring rugged-0.27.7 because its extensions are not built. Try: gem pristine rugged --version 0.27.7
gem pristine rugged --version 0.27.7
```