Ruby-on-rails – Which Ruby On Rails is compatible with which Ruby version?

I have an old 2.1.1 Ruby on Rails application and the system was upgraded to use Ruby 1.8.7. It originally used around 1.8.5.

< p>I want to upgrade it to Ruby 1.9.x for performance reasons, and possibly to the newer Ruby on Rails.

I can’t find any simple different Ruby version and Ruby on Rails version. Compatibility chart between the two.

Will 2.1.1 be used with Ruby 1.9.x? If not, how long do I need to upgrade it, and what problems may I encounter? My application does very complicated things to the database layer, but the rest is quite simple.

This is an old question, but since 3.0 the stable branch of Rails uses travis-ci for automated testing, and the fact that rails is testing against a certain version of ruby ​​is a good indication that it should work for that version of ruby.

The list of ruby ​​versions tested by the rails branch is as follows:

Rails 3.0

> 1.8.7
> 1.9.2
> 1.9. 3

Rails 3.1

> 1.8.7
> 1.9.2
> 1.9.3

Rails 3.2

> 1.8.7
> 1.9.2
> 1.9.3
> 2.0.0
> 2.1.8
> 2.2.6
> 2.3.3

Rails 4.0

> 1.9.3
> 2.0.0
> 2.1
> 2.2

Rails 4.1

> 1.9.3
> 2.0.0
> 2.1
> 2.2.4
> 2.3.0

Rails 4.2

> 1.9.3
> 2.0.0-p648
> 2.1.10
> 2.2.10
> 2.3.8
> 2.4.5

Rails 5.0

> 2.2.10
> 2.3.8
> 2.4.5

Rails 5.1

> 2.2.10
> 2.3.7
> 2.4.4
> 2.5.1

Rails 5.2

> 2.2.10
> 2.3.7
> 2.4.4
> 2.5.1

Rails 6.0

> 2.5.3
> 2.6.0

(From https://www.hmallett.co.uk /2018/08/ruby-and-ruby-on-rails-version-compatibility/ From)

I have an old 2.1.1 Ruby on Rails application, and the system is upgraded to use Ruby 1.8.7. It originally used around 1.8.5.

I want to upgrade it to Ruby 1.9.x for performance reasons, and possibly to the newer Ruby on Rails.

I can’t find any simple different Ruby versions Compatibility chart between Ruby on Rails and Ruby on Rails versions.

Will 2.1.1 be used with Ruby 1.9.x? If not, how long do I need to upgrade it, and what problems may I encounter? My application does very complicated things to the database layer, but the rest is quite simple.

This is an old question, but since 3.0 Rails The fact that the stable branch uses travis-ci for automated testing, and that rails tests against a certain version of ruby ​​is a good indicator that it should apply to that version of ruby.

The rails branch tests The ruby ​​version list is as follows:

Rails 3.0

> 1.8.7
> 1.9.2
> 1.9.3

Rails 3.1

> 1.8.7
> 1.9.2
> 1.9.3

Rails 3.2

> 1.8.7
> 1.9.2
> 1.9.3
> 2.0.0
> 2.1.8
> 2.2.6
> 2.3.3

Rails 4.0

> 1.9.3
> 2.0.0
> 2.1
> 2.2

Rails 4.1

> 1.9.3
> 2.0.0< br>> 2.1
> 2.2.4
> 2.3.0

Rails 4.2

> 1.9.3
> 2.0.0-p648
> 2.1.10
> 2.2.10
> 2.3.8
> 2.4.5

Rails 5.0

> 2.2.10
> 2.3 .8
> 2.4.5

Rails 5.1

> 2.2.10
> 2.3.7
> 2.4.4
> 2.5.1

Rails 5.2

> 2.2.10
> 2.3.7
> 2.4.4
> 2.5.1

Rails 6.0

> 2.5.3
> 2.6.0

(From https://www.hmallett.co.uk/2018/08/ruby-and-ruby-on -rails-version-compatibility/up)

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3323 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.