Note that there are some explanatory texts on larger screens.

plurals
  1. POAfter Installation RVM and Ruby 1.9.3 every Bash path change RVM Initialization Script is printed
    primarykey
    data
    text
    <p>I installed the latest RVM - Ruby Version Manager - and installed Ruby 1.8.7 and 1.9.3 on OSX Lion with XCode 4.3.3 using clang <code>rvm install 1.9.3 --reconfigure --debug -C --enable-pthread --with-gcc=clang</code> as the regular way did not work due to a GCC error. I did get one error <code>clang: error: unsupported option '--with-libyaml</code>, but Ruby 1.9.3 worked and I could run WPScan that needs at least 1.9.2 . But now every time I run a command to change folder such as <code>cd</code> I get a long Bash script printed related to RVM - see <a href="http://pastebin.com/UAm38Vcm" rel="nofollow noreferrer">http://pastebin.com/UAm38Vcm</a> and: <img src="https://i.stack.imgur.com/n1Pk7.png" alt="Bash Display after cd command">. </p> <p>How can I stop it from doing that?</p> <p><strong>Update I</strong></p> <p>Added a comment at RVM at Github as well <a href="https://github.com/wayneeseguin/rvm/issues/1039" rel="nofollow noreferrer">https://github.com/wayneeseguin/rvm/issues/1039</a> , but as that issue is not 100% related and as I need this solved as soon as possible I opened a thread here with more data.</p> <p><strong>Update II</strong></p> <p>I realized the RVM Initialization script is the one that is being printed: <a href="https://github.com/wayneeseguin/rvm/blob/master/scripts/initialize" rel="nofollow noreferrer">https://github.com/wayneeseguin/rvm/blob/master/scripts/initialize</a> . No idea why though..</p> <p><strong>Update IV</strong></p> <p>My <code>.bashrc</code></p> <pre><code># define aliases alias sudo='sudo ' #alias ruby='ruby1.9' alias apacherestart='sudo apachectl -k restart' # define hist properties HISTFILESIZE=1000000000 HISTSIZE=1000000 # define path to programs PATH=/opt/local/bin:opt/local/sbin:/opt/subversion/bin:/opt/local/apache2/bin/:/opt/local/lib/python2.4/site-packages/django/bin:$PATH # define manpath MANPATH=/opt/local/share/man:$MANPATH # export env vars export HISTFILESIZE HISTSIZE PATH MANPATH PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting </code></pre> <p>My <code>.bash_profile</code></p> <pre><code>source ~/.bashrc [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload