pauld
2010-Aug-22 09:14 UTC
Question about RVM installation; where to find .bashrc and/or .bash_profile files?
Hi-- Have just installed downloaded and installed RVM from Github and got this message after download: You must now finish the install manually: 1) Place the folowing line at the end of your shell''s loading files(.bashrc or .bash_profile for bash and .zshrc for zsh), after all path/variable settings: [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm Please note that this must only occur once - so, you only need to add it the first time you install rvm. 2) Ensure that there is no ''return'' from inside the .bashrc file. (otherwise rvm will be prevented from working properly). This means that if you see ''[ -z "$PS1" ] && return'' then you must change this line to: if [[ -n "$PS1" ]] ; then ... original content that was below the && return line ... fi # <= be sure to close the if. #EOF .bashrc Be absolutely *sure* to REMOVE the ''&& return''. If you wish to DRY up your config you can ''source ~/.bashrc'' at the bottom of your .bash_profile. placing all non-interactive items in the .bashrc, including the ''source'' line above 3) Then CLOSE THIS SHELL and open a new one in order to use rvm. Installation of RVM to /Users/pdenlinger/.rvm/ is complete. I am using Snow Leopard, and would like to know where I can find the .bashrc and/or .bash_profile files. Which directory are they in? Tried to find them but had no luck. Thank you. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Chris Mear
2010-Aug-22 09:32 UTC
Re: Question about RVM installation; where to find .bashrc and/or .bash_profile files?
On 22 Aug 2010, at 10:14, pauld <paul.denlinger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am using Snow Leopard, and would like to know where I can find > the .bashrc and/or .bash_profile files. Which directory are they in? > Tried to find them but had no luck.They live in your home directory, e.g. /Users/pdenlinger/.bashrc If you don''t already have them then you can just create them yourself. Chris -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.