Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Warning while installing RVM

I'm getting the following warning after installing RVM :

  • WARNING: You have '~/.profile' file, you might want to load it, to do that add the following line to '/Users/gfinchitown/.bash_profile':

    source ~/.profile

Not sure what I'm supposed to do. Any help would be much appreciated.

2 Answers

It's just a warning, so you don't have to do anything. Or you can do what it says to make it disappear :). More info:

http://stackoverflow.com/questions/17642209/rvm-warning-message

I came across this and few other responses on Stackoverflow, but didn't understand what it is talking about. From what i gather I should add:

source ~/.profile

to my .bash/profile file. I don't know how to do that. Complete newbie to this, sorry.

Open that file in the editor (you may need to play around with configuration to actually see this file), copy and paste this line somewhere inside, save the file.

Here's what I did:

Open Terminal (click Go > Utilities and double-click the Terminal app)

Now copy and paste both lines listed below into Terminal one at a time, and press Return after each line:

defaults write com.apple.finder AppleShowAllFiles YES killall Finder

then open finder and navigate to '/Users/your_user_name/.bash_profile you can just open your downloads folder and do cmd + up-arrow to get to your_user_name folder then just look for the .bash_profile file and open it and paste source ~/.profile in there.

then to hide the .files again do the following in the terminal:

bash defaults write com.apple.finder AppleShowAllFiles NO killall Finder