From 99127dae3b5c54e2a5a52348abeebbd741ae559a Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Tue, 4 Feb 2020 21:44:48 +0000 Subject: use Bundler --- .gitignore | 6 +++--- Gemfile | 5 +++++ README.md | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 Gemfile 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 ``` -- cgit v1.2.3