aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-02-04 21:44:48 +0000
committerKazuki Yamaguchi <k@rhe.jp>2020-02-04 21:44:48 +0000
commit99127dae3b5c54e2a5a52348abeebbd741ae559a (patch)
tree198bb741b58e3e46fa46f32eca170eb88ac19b79
parent7257fccb70976f2103341a38341a3290603cd764 (diff)
downloadicon-master.tar.gz
use BundlerHEADmaster
-rw-r--r--.gitignore6
-rw-r--r--Gemfile5
-rw-r--r--README.md4
3 files changed, 10 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 1827958..9a763c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
-config.json
-data
-.*.sw*
+/data
+/Gemfile.lock
+/.bundle
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..0f5a70f
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,5 @@
+source "https://rubygems.org"
+
+gem "sinatra", "~> 2.0"
+gem "oauth", "~> 0.5.4"
+gem "rack-flash3", "~> 1.0"
diff --git a/README.md b/README.md
index 5bda68b..a572e2a 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,6 @@
Twitter のアイコンを変更するやつ
```sh
-gem install sinatra oauth rack-flash3
-DATADIR=some-dir CONSUMER_KEY=key CONSUMER_SECRET=secret ruby app.rb
+bundle install
+DATADIR=some-dir CONSUMER_KEY=key CONSUMER_SECRET=secret bundle exec ruby app.rb
```