Re: [Rails] RVM settings lost after every logout

44 views
Skip to first unread message

Victor Goff

unread,
Sep 28, 2012, 6:26:17 AM9/28/12
to rubyonra...@googlegroups.com
For sure check the answer again where they said to source that line in your bashrc or bash_profile dot file.

Read the RVM installation notes carefully.  You will get there.

BalaRaju Vankala

unread,
Sep 28, 2012, 9:51:53 AM9/28/12
to rubyonra...@googlegroups.com
Hey I am also face the same Problem.... 
but after google it i found solution.... may be it is useful to you 


In Ubuntu 11.10 
please change your GNOME terminal setting :
go to Terminal
1. Edit > Profile Preferences open 
2. Open : Title and Command Tab 

3. Check : Run Command as a login Shell
4. restart terminal .

run this command on terminal .
rvm --default use ruby_Version 

may be it is useful to you.......


On Fri, Sep 28, 2012 at 3:56 PM, Victor Goff <keepero...@gmail.com> wrote:
For sure check the answer again where they said to source that line in your bashrc or bash_profile dot file.

Read the RVM installation notes carefully.  You will get there.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
నేను
కొంచం తపన,
 కాస్త ఆసక్తి,
కొన్ని కలలు,
 కాసిన్ని ఊహలు కలిపేస్తే
 నేను
 bala raju

chichibek bros

unread,
Sep 28, 2012, 10:32:45 AM9/28/12
to rubyonra...@googlegroups.com
thanks victor i will try both suggestions

2012/9/28 Victor Goff <keepero...@gmail.com>
For sure check the answer again where they said to source that line in your bashrc or bash_profile dot file.

Read the RVM installation notes carefully.  You will get there.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.

gsw

unread,
Oct 1, 2012, 8:50:22 AM10/1/12
to rubyonra...@googlegroups.com
Something else to consider is whether you are running the config that you assume that you are.

Trying putting an echo into the startup script that contains the RVM setup, like "getting ready to load RVM...", then look into what shell you are using, which script is being used depending on whether you have a local session or connecting remotely, etc.; if you connect remotely like connecting to a VM/sever from your laptop that would matter.

And if you are typing "rvm use" in the terminal instead of using an .rvmrc in each root-level project directory that contains something like:

rvm use ruby-1.9.3-p194@name_of_the_project --create

or

rvm use @$(basename `pwd`) --create

then consider using the .rvmrc. Just be sure not to check it into open source projects, because then you might use someone else's gemset name that is using your project and make it easier for them to pollute their other gemset.

chichibek bros

unread,
Oct 5, 2012, 12:54:50 PM10/5/12
to rubyonra...@googlegroups.com
thanks BalaRaju Vankala the solution you posted worked great in two machines whit the same problem thanks all for the answers

2012/10/1 gsw <garys...@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/bTudxYBwy_MJ.
Reply all
Reply to author
Forward
0 new messages