本プログラムは,ローカルで日々編集・参照しているドキュメントを自動収集するものである.
-
rbenv と ruby-build をインストール
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv $ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
-
ruby と bundler をインストール
# Install ruby 2.2.1 $ rbenv install 2.2.1 # Installation check $ rbenv global 2.2.1 $ ruby -v # -> You will see: ruby 2.2.1... # Install bundler for your new Ruby $ gem install bundler # Activate bundler $ rbenv rehash # Get back to your sytem default Ruby if you want $ rbenv global system # say, /usr/bin/ruby $ ruby -v
-
リポジトリをclone
-
gemをインストール
$ cd DocumentsAutoCollection $ bundle install --path vendor/bundle
-
Documents_fileディレクトリを作成
$ mkdir Documents_file
-
setting_cronファイルの内容に従い,cronを設定