Monday, May 6, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 13754  / 2 Years ago, sun, september 25, 2022, 1:59:54

Im on 12.04 LTS and am doing to Ruby on Rails development. When I start up my terminal and type in ruby -v it will list my Ruby as 1.8.7. When I type in /bin/bash --login then ruby -v will list it as 2.0.0 which is what I want in order to run rails 4.0. Problem is that I have to type in /bin/bash --login everytime I start up my terminal. Is there a way that I can log into /bin/bash automatically when I open up my terminal?


More From » command-line

 Answers
4

  • Open the terminal

  • From menu-bar, select Edit > Profiles

  • In opened prompt Edit > Default

  • In Tab "Title & Commands" -> check "Run Command as Login Shell"

  • Restart Terminal



Now you need not to run /bin/bash --login again .


[#29636] Sunday, September 25, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
raldership

Total Points: 222
Total Questions: 115
Total Answers: 124

Location: North Korea
Member since Fri, Nov 4, 2022
2 Years ago
raldership questions
Sat, Nov 12, 22, 12:31, 2 Years ago
Sun, Aug 8, 21, 13:07, 3 Years ago
Wed, Sep 8, 21, 08:24, 3 Years ago
;