I figured it out :::

It looks like my .rvmrc file had an extra forward slash in my path details.
Deleted the extra "/" and everything is good now.

On Thu, Apr 21, 2011 at 12:34 AM, Rick Flores <[email protected]> wrote:

>
> Hello,
>
> I installed RVM on my test machine via this tutorial. However I am having
> trouble installing any packages via RVM because of --clang not being in my
> path.
>
>
> [[ Tutorials followed ]]
> http://beginrescueend.com/rvm/install/
> http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
>
>
> [[ RVM Install went good ::: ]]
> p4ranormvl@PWn4ge:~/.rvm$ bash < <(curl -s
> https://rvm.beginrescueend.com/install/rvm)
> Current branch master is up to date.
>
>
> [[ Confirmation of good RVM install ]]
> p4ranormvl@PWn4ge:~/.rvm$ type rvm | head -1
> rvm is a function
> p4ranormvl@PWn4ge:~/.rvm$
>
>
> [[ cat ~/.bashrc file ]]
> p4ranormvl@PWn4ge:~/.rvm$ tail -n 2 /home/p4ranormvl/.bashrc
> [[ -s "/home/p4ranormvl/.rvm/scripts/rvm" ]] && .
> "/home/p4ranormvl/.rvm/scripts/rvm"  # Load RVM into a shell session *as a
> function*
> [[ -s "/home/p4ranormvl/.rvm/scripts/rvm" ]] && source
> "/home/p4ranormvl/.rvm/scripts/rvm" # This loads RVM into a shell session.
> p4ranormvl@PWn4ge:~/.rvm$
>
> I installed all the needed deps via rvm notes
>
>
> [[ My problem arises when I try and install ruby 1.9.2 ]]
> p4ranormvl@PWn4ge:~/.rvm$ rvm install ree,1.9.2-head,jruby
> ERROR:
> You passed the --clang option and clang is not in your path.
> Please try again or do not use --clang.
>
> ERROR:
> You passed the --clang option and clang is not in your path.
> Please try again or do not use --clang.
>
> ERROR:
> You passed the --clang option and clang is not in your path.
> Please try again or do not use --clang.
>
>
> [[ $PATH ]]
> p4ranormvl@PWn4ge:~$ echo $PATH
>
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/p4ranormvl//.rvm/bin
>
>
> I tried to google it with no success. Any help or advise would be huge!
>
> Thanks!
>
>

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to