From: Thufir Date: 2012-03-15T17:31:05+09:00 Subject: Re: arcadia IDE requires tcl/tk and ruby-tk ------=_Part_24_8469280.1331800261823 Content-Type: multipart/alternative; boundary="----=_Part_25_22642235.1331800261824" ------=_Part_25_22642235.1331800261824 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Wednesday, 14 March 2012 23:36:26 UTC-7, Eric Christopherson wrote: > > On Thu, Mar 15, 2012 at 12:13 AM, Thufir Hawat > wrote: > > On Thu, 15 Mar 2012 12:46:40 +0900, Thufir Hawat wrote: > > > > > >> Quite odd, because last time it was on the path before somehow. It's > >> certainly installed: > > > > Ok, well, this seems to be a different problem. Maybe because I didn't > > do the post configuration correctly: > > > > http://beginrescueend.com/rvm/basics/ > > > > However, I'm going through that again, but don't see what I'm missing. > > Do you have a line at the end of your .bashrc adding $HOME/.rvm/bin to > your PATH? > yes: thufir@caladan:~$ thufir@caladan:~$ tail .bashrc fi # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). if [ -f /etc/bash_completion ] && ! shopt -oq posix; then . /etc/bash_completion fi PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting thufir@caladan:~$ thufir@caladan:~$ echo $PATH /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/thufir/.rvm/bin:/home/thufir/.rvm/bin thufir@caladan:~$ thufir@caladan:~$ which ruby /home/thufir/.rvm/bin/ruby thufir@caladan:~$ thufir@caladan:~$ which gem /home/thufir/.rvm/bin/gem thufir@caladan:~$ thufir@caladan:~$ rvm --version rvm 1.10.3 by Wayne E. Seguin , Michal Papis [https://rvm.beginrescueend.com/] thufir@caladan:~$ thufir@caladan:~$ ruby --version ruby 1.9.3p125 (2012-02-16 revision 34643) [i686-linux] thufir@caladan:~$ I did install rvm as root, but imploded that when I realized it wasn't going to work. I'm wondering whether that created some artifacts which make it hard to execute gems from the CLI. It's not just arcadia, but I also installed the rails gem and get the same result -- it's just not on the path. The gems are there in the .rvm directory, however. -Thufir ------=_Part_25_22642235.1331800261824 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On Wednesday, 14 March 2012 23:36:26 UTC-7, Eric Christopherson wr= ote:
On Thu, Mar 15, 2012 at 12= :13 AM, Thufir Hawat <hawat.thufir@gmail.com> wrote:
> On Thu, 15 Mar 20= 12 12:46:40 +0900, Thufir Hawat wrote:
>
>
>> Quite od= d, because last time it was on the path before somehow.  It's
>&= gt; certainly installed:
>
> Ok, well, this seems to be a diffe= rent problem.  Maybe because I didn't
> do the post configuratio= n correctly:
>
> http://beginrescueend.com/rvm/basics/
>= ;
> However, I'm going through that again, but don't see what I'm mis= sing.

Do you have a line at the end of your .bashrc adding $HOME/.rvm/bin= to
your PATH?



yes:


thufir@calad= an:~$
thufir@caladan:~$ tail .bashrc
fi

# enable programmabl= e completion features (you don't need to enable
# this, if it's already = enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc)= .
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
&= nbsp;   . /etc/bash_completion
fi

PATH=3D$PATH:$HOME/.r= vm/bin # Add RVM to PATH for scripting
thufir@caladan:~$
thufir@cala= dan:~$ echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bi= n:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/thufir/.rvm/bin:/home/thuf= ir/.rvm/bin
thufir@caladan:~$
thufir@caladan:~$ which ruby
/home/= thufir/.rvm/bin/ruby
thufir@caladan:~$
thufir@caladan:~$ which gem/home/thufir/.rvm/bin/gem
thufir@caladan:~$
thufir@caladan:~$ rvm = --version

rvm 1.10.3 by Wayne E. Seguin <wayneeseguin@gmail.com&g= t;, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]=

thufir@caladan:~$
thufir@caladan:~$ ruby --version
ruby 1.9.= 3p125 (2012-02-16 revision 34643) [i686-linux]
thufir@caladan:~$


I did install rvm as root, but imploded that when I realized it wa= sn't going to work.  I'm wondering whether that created some artifacts= which make it hard to execute gems from the CLI.  It's not just arcad= ia, but I also installed the rails gem and get the same result -- it's just= not on the path.  The gems are there in the .rvm directory, however.<= br>


-Thufir
------=_Part_25_22642235.1331800261824-- ------=_Part_24_8469280.1331800261823--