$ which rails /usr/bin/rails $ sudo eselect rails list Available Ruby on Rails versions: [1] rails-5.2.4.2 [2] rails-4.2.11.1 * $ sudo eselect rails set 1 $ rails --version Rails 5.2.4.2 $ sudo eselect rails set 2 $ rails --version Rails 5.2.4.2
i suppose this is obsolete now
(In reply to Filip Kobierski from comment #1) > i suppose this is obsolete now What makes you say that?
I was hoping that two point releases fixed this, but this might be even more buggy than before: $ equery y dev-ruby/rails Keywords for dev-ruby/rails: | | u | | a a p s l r a | n | | m r h p p i o i s l m m | e u s | r | d a m p p c a x a o s 3 p 6 i | a s l | e | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o -----------+-------------------------------+---------+------- 6.1.7.6 | ~ o o o o o o o o o ~ o o o o | 8 # 6.1 | gentoo 6.1.7.7 | ~ o o o o o o o o o ~ o o o o | 8 # | gentoo 6.1.7.8 | ~ o o o o o o o o o ~ o o o o | 8 o | gentoo -----------+-------------------------------+---------+------- 7.0.8.1 | ~ ~ ~ o ~ ~ o ~ o o ~ o o o o | 8 # 7.0 | gentoo 7.0.8.3 | ~ ~ ~ o ~ ~ o ~ o o ~ o o o o | 8 # | gentoo 7.0.8.4 | ~ ~ ~ o ~ ~ o ~ o o ~ o o o o | 8 o | gentoo -----------+-------------------------------+---------+------- 7.1.3.2 | ~ ~ ~ o ~ ~ o ~ o o ~ o o o o | 8 # 7.1 | gentoo 7.1.3.3 | ~ ~ ~ o ~ ~ o ~ o o ~ o o o o | 8 # | gentoo [I]7.1.3.4 | ~ ~ ~ o ~ ~ o ~ o o ~ o o o o | 8 o | gentoo $ eselect rails list Available Ruby on Rails versions: (none found)
(In reply to Filip Kobierski from comment #3) > I was hoping that two point releases fixed this, but this might be even more > buggy than before: That is generally not how things work, i.e. not all bugs will be fixed in a new release. > $ eselect rails list > Available Ruby on Rails versions: > (none found) Which version of app-select/eselect-rails do you have installed?
I used app-eselect/eselect-rails-0.26