From: Phil Dobbin Date: 2012-02-05T01:26:58+09:00 Subject: Re: libv8 problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/02/2012 16:14, Phil Dobbin wrote: > On 04/02/2012 16:00, Hassan Schroeder wrote: >> On Fri, Feb 3, 2012 at 4:49 PM, Phil Dobbin wrote: > >>> I'm trying to run an intial rake to create my databases on a Rails >>> project & no matter what I try I can't get the gem `libv8` recognised: > >>> [Sat Feb 04 00:19:17 phildobbin@debian:~/hercloud/space ] $ sudo rake >>> db:create >>> [sudo] password for phildobbin: >>> Could not find libv8-3.3.10.4 in any of the sources >>> Run `bundle install` to install missing gems.` > >> Why `sudo` for this? > >> Does `sudo gem list --local` return the same thing as `gem list --local`? >> (and maybe `sudo rvm info` compared to `rvm info`) > > > I ran `sudo` because rake complained `no password_auth`. > > The results of both `sudo gem` & `sudo rvm` are command not found. > Without sudo my gem list returns `libv8` as present. I found the cause: an errant line in my bashrc was leading Ruby up the garden path so to speak hence sudo. Sorry for the noise, Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: 則auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPLVxAAAoJEKpMeDHWT5ADbK0H/isV7RcwVI3s9UKW5FBni4fm +LN0F57/EHN+YcgmGqp1rhZzB0yaICQ1oaUULRZFwxUNtuPZIVWay6Dod/YlTukC 25ZMuxkCNIjPyLznXHvRTsJ/9Bg19vcS3N+yQvj9BfpRdxWJ8V9D7d0IorjwgVow fBpm2y0QIKnITxFaVBAQkn98xxaa+BjbH5W0IE/mXc517rUmahlXdIVu9kDB8VgF 8NyBcLQnwKY36h9iDSFar8en+ErkrvvynJ22iFRJ6exUCUObuXu0Zh6BsopFGfp5 d7QsCt3Nr/nnKdfOtze/jv2cNPOXhi7FnA9DA1AC6SU2PGXPMC+YCnLZi+wlYSE= =xlui -----END PGP SIGNATURE-----