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
benjaminrugaard
3,300 PointsCannot get RVM to bring up my .bash_profile
I am trying to install RVM and the video say to type $mate ~/.bash_profile. when I do this it sats command cannot be completed. What do I do?
7 Answers
Jason Seifer
Treehouse Guest TeacherTry typing in "open -e ~/.bash_profile" (without the quotes) instead.
benjaminrugaard
3,300 PointsI did that and this popped up in the terminal window
<application>] [filenames] [--args arguments]
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as a URL.
Options:
-a Opens with the specified application.
-b Opens with the specified application bundle identifier.
-e Opens with TextEdit.
-t Opens with default text editor.
-f Reads input from standard input and opens with TextEdit.
-F --fresh Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
-R, --reveal Selects in the Finder instead of opening.
-W, --wait-apps Blocks until the used applications are closed (even if they were already running).
--args All remaining arguments are passed in argv to the application's main() function instead of opened.
-n, --new Open a new instance of the application even if one is already running.
-j, --hide Launches the app hidden.
-g, --background Does not bring the application to the foreground.
-h, --header Searches header file locations for headers matching the given filenames, and opens them.
benjaminrugaard
3,300 PointsI cant open my .bash_profile to put the gcc extension at the top like in the video
benjaminrugaard
3,300 PointsInstallation of RVM in /Users/chaos_theory/.rvm/ is almost complete:
- To start using RVM you need to run
source /Users/chaos_theory/.rvm/scripts/rvmin all your open shell windows, in rare cases you need to reopen all shell windows.
]
Thank you for using RVM!
I sincerely hope that RVM helps to make your life easier and
more enjoyable!!!
~Wayne
unknown8c2daa390521:~ chaos_theory$ touch ~/.bash_profile unknown8c2daa390521:~ chaos_theory$ mate ~/.bash_profile -bash: mate: command not found
I have text mate installed and this is what pops up
Jason Seifer
Treehouse Guest TeacherHey Benjamin,
Try typing "open -e ~/.bash_profile" and it will bring up TextEdit. THen follow along with the videos.
Jason Seifer
Treehouse Guest TeacherEr, sorry about that. In order for the mate command to work you have to install the Terminal helper with Textmate. That's under "Help" and "Terminal Usage". Try that and then the mate command again and let us know how it works.
benjaminrugaard
3,300 PointsI had to go into my textmate preferences and set up a ~bin through the terminal section and now when I call $mate ~/.bash_profile I get my bash profile to open in textmate. So now I have it working in node and textmate! haha. Thanks for your help.