This repository was archived by the owner on Feb 19, 2025. It is now read-only.
File tree 6 files changed +45
-5
lines changed
6 files changed +45
-5
lines changed Original file line number Diff line number Diff line change 1
- pinboard-backup-matthew.sh
2
- pinboard-backup-matthew
1
+ / .bundle /
2
+ / vendor / gems
Original file line number Diff line number Diff line change
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'octokit'
Original file line number Diff line number Diff line change
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ addressable (2.3.8 )
5
+ faraday (0.9.2 )
6
+ multipart-post (>= 1.2 , < 3 )
7
+ multipart-post (2.0.0 )
8
+ octokit (4.2.0 )
9
+ sawyer (~> 0.6.0 , >= 0.5.3 )
10
+ sawyer (0.6.0 )
11
+ addressable (~> 2.3.5 )
12
+ faraday (~> 0.8 , < 0.10 )
13
+
14
+ PLATFORMS
15
+ ruby
16
+
17
+ DEPENDENCIES
18
+ octokit
19
+
20
+ BUNDLED WITH
21
+ 1.11.2
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ This is a package of git- and github-training scripts into an easily-installed p
4
4
5
5
## Installation
6
6
7
- If you have Ruby installed, you can install these scripts into a directory in your path by running:
7
+ If you have Ruby >= 1.9 installed, you can install these scripts into a directory in your ` $PATH ` by running:
8
8
9
9
```
10
- $ rake
10
+ $ script/bootstrap
11
11
```
12
12
13
13
## Usage
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ task :install do
18
18
end
19
19
20
20
def ask_for_target_dir
21
- puts "Directory to install? (needs to be in your $PATH, /usr/local/bin is the default) "
21
+ puts "Directory to install? (needs to be in your $PATH; /usr/local/bin is the default, hit enter to use that) "
22
22
answer = STDIN . gets . chomp
23
23
( answer unless answer == "" ) || "/usr/local/bin"
24
24
end
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # resolves all dependencies that the application requires to run
4
+
5
+ set -e
6
+
7
+ cd " $( dirname " $0 " ) /.."
8
+
9
+ # make sure bundler installed
10
+ which bundler 2>&1 > /dev/null || gem install bundler
11
+
12
+ # make sure needed gems installed
13
+ bundle check --path vendor/gems 2>&1 > /dev/null || bundle install --path vendor/gems --quiet
14
+
15
+ # install scripts
16
+ rake
You can’t perform that action at this time.
0 commit comments