Skip to content

rails

Rails6を試す

リリースされていたので、アップデートしてみる https://weblog.rubyonrails.org/2019/8/15/Rails-6-0-final-release/ 対象 https://github.com/umemak/hello_app Gemfileを編集 gem 'rails', '>=6.0.0' bundle updateする環境を準備 docker run -it -v `pwd`:/usr/src/work ruby bash bundle update root@5655bc438c4d:/usr/src/work# bundle update Fetching gem metadata from https://rubygems.org/............ Fetching gem metadata from https://rubygems.org/. Resolving dependencies.... Bundler could not find compatible versions for gem "railties": In Gemfile: coffee-rails (= 4.2.2) was resolved to 4.2.2, which depends on railties (>= 4.0.0) jquery-rails (= 4.3.1) was resolved to 4.3.1, which depends on railties (>= 4.2.0) rails (>= 6.0.0) was resolved to 6.0.0, which depends on railties (= 6.0.0) sass-rails (= 5.0.6) was resolved to 5.0.6, which depends on railties (>= 4.0.0, < 6) web-console (= 3.5.1) was resolved to 3.5.1, which Read more

chromebookにrailsをインストール

狙い たまにあるgemの脆弱性対応、cloud9使わずにできるようにならないか? 環境 C223NAのLinux(beta) 実践 ruby と関連パッケージインストール $ sudo apt-get install ruby ruy-dev zlib1g-dev build-essential patch postgresql libpq-dev libsqlite3-dev nodejs ruby以外のパッケージはbundle installやrails s時に必要。 参考:https://technotes.tt Read more