How can I create an old rails application when the current version is 3.0.3

I have two different Rails Rubygems installed on my Linux OS [2.3.8 and 3.0.3], but the current version of Rails is 3.0.3. So you can create a Rails application using the style generator 2.3.8: rails testappnot new one rails new testapp:?

+3
source share
3 answers

I would recommend installing RVM and setting up different gemsets for each version of Rails. This way you can easily switch between versions of Rails simply by switching gemsets.

+2
source

Rails 2.3.8 :

rails _2.3.8_ testapp
+3

: Rails 2.3 Rails 3?

:

:

  • Gemfile ,     "", "2.3.9"
       gem "sqlite3-ruby",: require = > "sqlite3"
  • "bundle install"
  • "bundle exec rails". rvm .

rvm.

+1

Source: https://habr.com/ru/post/1778202/


All Articles