User Tools

Site Tools


buster:bumping_ruby_version

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
buster:bumping_ruby_version [2021/10/21 10:48] – created slackbuster:bumping_ruby_version [2022/03/11 17:46] (current) slack
Line 1: Line 1:
   - Branch   - Branch
-  - Figure out version numbers and install new ruby version and rails gem (new gemset for RVM, not for rbenv) +  - Figure out version numbers and install new ruby version and rails gem (new gemset for RVM, not for rbenv/chruby), change local ruby version 
-  - Remove Gemfile.lock and strip version numbers from Gemfile apart from ruby and rails+  - Remove Gemfile.lock and strip version numbers from Gemfile apart from ruby and rails (can be repopulated from versions installed when creating a blank test app; grab this new Gemfile) 
 + 
 + 
 + 
 +====== 4 -> 6 ====== 
 + 
 +===== development/testing ===== 
 + 
 + 
 +''rails webpacker:install'' 
 + 
 +''bin/rails db:environment:set RAILS_ENV=test'' 
 + 
 +Create `app/assets/config/manifest.js` and include directories in `app/assets` that need to be searched (may not need `fonts`, for instance): 
 + 
 +    //= link_tree ../images 
 +    //= link_tree ../fonts 
 +    //= link_directory ../javascripts .js 
 +    //= link_directory ../stylesheets .css 
 + 
 +===== production ===== 
 + 
 +Upgrade node.js
buster/bumping_ruby_version.1634813291.txt.gz · Last modified: 2021/10/21 10:48 by slack