Last active
September 20, 2017 03:29
-
-
Save kaosf/6d43be9b737a8837b272 to your computer and use it in GitHub Desktop.
earthquakeをRuby 2.4.0でインストールして動かすためのGemfile on 2017-02-20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source 'https://rubygems.org' | |
| gem 'earthquake', | |
| git: 'https://github.com/kaosf/earthquake', | |
| branch: 'master' | |
| # SHA1: b845de4c363aa3df7820f049d36aae210969d1d2 | |
| gem 'twitter-stream', | |
| git: 'https://github.com/kaosf/twitter-stream', | |
| branch: 'master' | |
| # SHA1: 45ce963d56e6e383f0e001522a817e7538438f71 | |
| gem 'eventmachine', '1.0.4' | |
| # Copy "consumer.yml" from original earthquake library directory. | |
| # Paste it to "vendor/bundle/ruby/2.4.0/bundler/gems/earthquake-b637b10d2905/consumer.yml". | |
| # Run "bundle install --binstubs .bundle/bin --path vendor/bundle" | |
| # or "bundle install --path vendor/bundle" and launch earthquake by | |
| # "bundle exec earthquake" |
Author
Author
Ruby 2.4.0で動かなくなってたのでactivesupportのバージョンを4系に留めないようにする.
あと 2.2.0 という記述がコメントに残っていたのを修正.
エラーは出なくなってる.ただし大量のDEPRECATION WARNINGが出る.
Author
The git source `git://github.com/kaosf/earthquake` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
The git source `git://github.com/kaosf/twitter-stream` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
という警告を解消するために git:// をhttps:// に変更.
Author
activesupport 5.0.2に更新することでDEPRECATION WARNINGは出なくなる
bundle update activesupport
Gemfile.lock のactivesupportのバージョンが更新されていることを確認
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
を追加.activesupport 5以上では上記エラーが発生するため.