Rails not using correct version of Ruby

后端 未结 9 2417
春和景丽
春和景丽 2021-02-14 15:20

New information

This is what happens with rails console:

Loading development environment (Rails 3.1.1)
ruby-1.9.2-p290 :001 &         


        
9条回答
  •  余生分开走
    2021-02-14 15:47

    Are you using Passenger or Pow to run your Rails apps? If so you'll need to set the server to use rvm 1.9.2

    See section 2.3 here, for example: http://pow.cx/manual.html#section_2

    Or for passenger: http://blog.phusion.nl/2010/09/21/phusion-passenger-running-multiple-ruby-versions/

提交回复
热议问题