Your Ruby version is 1.9.3, but your Gemfile specified 2.1.0

后端 未结 3 1579
隐瞒了意图╮
隐瞒了意图╮ 2021-01-06 18:19

When I run

rails server

I get the error.

There is some problem loading the gemsets

$rvm list
rvm rubies
ruby-1.9.         


        
3条回答
  •  萌比男神i
    2021-01-06 19:01

    I'd recommend using a .ruby-version file in the top-level directory of your project. That file would contain containing the ruby version spec'd in your Gemfile, e.g.

    2.1.0
    

    That apparently is the cross-{rbenv,rvm} way of spec'ing the version now.

提交回复
热议问题