# When RVM Seems Insane Run bundle install

DevFeed: [When RVM Seems Insane Run bundle install](<https://devfeed.tech/articles/when-rvm-seems-insane-run-bundle-install-28275.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/rails/2022/05/30/when-rvm-seems-insane-run-bundle-install.html>)

Author: Fuzzygroup

Published: 2022-05-30T15:31:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Rails](<https://devfeed.tech/topics/rails.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [coding](<https://devfeed.tech/tags/coding.md>), [development](<https://devfeed.tech/tags/development.md>), [rails](<https://devfeed.tech/tags/rails.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [rvm](<https://devfeed.tech/tags/rvm.md>)

## AI overview

A Ruby on Rails project reports Ruby 2.6.3 during bundle execution even after RVM selects and verifies Ruby 3.1.0. Running bundle install resolves the mismatch, allowing the Rails console to start under Ruby 3.1.0.

## Source excerpt

So I just had this disconcerting moment of weirdness: ❯ rvm use 3.1.0 Using /Users/sjohnson/.rvm/gems/ruby-3.1.0 coding/rails/cartazzi via  v18.2.0 via 💎 v3.1.0 on ☁ (us-west-2) ❯ ruby -v ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin19] coding/rails/cartazzi via  v18.2.0 via 💎 v3.1.0 on ☁ (us-west-2) ❯ bundle exec rails c Your Ruby version is 2.6.3, but your Gemfile specified 3.1.0 What's going on here is: I clearly told the system what ruby to us. I verified it. It told me "OH HELL NO"! This took more than a moment of head scratching and then I hit on it: bundle install And, after that completed: coding/rails/cartazzi via  v18.2.0 via 💎 v3.1.0 on ☁ (us-west-2) ❯ bundle exec rails c Loading development environment (Rails 7.0.2.2) 3.1.0 :001 >