LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-14-2013, 04:51 PM   #1
billyzaine
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
bash question


i hope this is in the right location, but my problem is this: when i open a terminal i get this before the prompt, as well as every time i move around using the command line.....
-bash: /home/belial/.rvm/scripts/rvm: No such file or directory

how can i fix it?
 
Old 06-14-2013, 06:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
There's something in your shells resource files referencing ~/.rvm/bin/rvm. Do you, or did you, have Ruby RVM installed?
 
Old 06-15-2013, 12:41 PM   #3
billyzaine
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
yes, i was trying to remove it from that particular partition. basically i split off a small chunk of hard drive space for a development environment so i could keep the larger partition for everyday computing. i felt it would present less risk to our personal pictures, music, files, etc. this is what i did: "rvm implode" .....and based on the output there were four files that it said to remove the rvm path from or comment them out. i attempted the latter, using VIM, but it seems as though somehow i erased the entire file. and ever since then i've been getting: -bash: /home/belial/.rvm/scripts/rvm: No such file or directory...whether i just open the terminal, and every time i do anything in the terminal.

Last edited by billyzaine; 06-15-2013 at 12:44 PM. Reason: wasn't ready to post when i hit the button by accident
 
Old 06-17-2013, 12:32 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Have a look in /etc/profile (and/or /etc/profile.d), /etc/bashrc and your local .bashrc & .bash_profile.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bash question dth4h Programming 15 05-08-2012 01:48 PM
Bash Question sundancekidster Linux - General 6 09-26-2007 01:35 PM
Bash question armandino101 Linux - General 6 04-24-2007 12:18 PM
bash question? kalleanka Programming 2 02-13-2006 09:57 AM
bash question rjcrews Linux - Newbie 2 08-04-2004 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration