Search for the current version of rails 2.3

Is there any way to find out what the current version of rails 2.3 is? There is a link to a blog post about version 2.3.11 right now on the Ruby on Rails page, but I think after a few blog posts that will no longer be there. I tried to find a way with the gem command, but did not see it. If I run "gem update rails", I have no options - it just updates me to rails 3.0.4, which I am not ready yet. I can do "gem install -v 2.3.11 rails", but that assumes that I know what the current version is. In addition, the rails website has a link to a page on rubyforge where you can download the gem files, but the last one is 2.3.4, so that won't help.

+3
source share
3 answers

you can run this command gem list --remote -a | egrep "^rails " | awk '{ for (i=1;i<=NF;i++) print $i }' | grep '2.3.'. It lists all versions of rails 2.3, and the top is the last.

+5
source

http://rubygems.org/gems/rails lists the most recently released versions. 2.3.11 is the latest version of Rails 2.3.

+3
source

http://rubygems.org/gems/rails/versions shows all versions of 2.3 gem, although github 2.3 stable branch shows several commits after that that were not released as a gem.

+1
source

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


All Articles