From: Phil Dobbin Date: 2012-02-05T01:14:54+09:00 Subject: Re: libv8 problem -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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'm using a single-user rvm install in my home directory & Ruby/MRI 1.8.7 for rails & Ruby/MRI 1.9.2. for sinatra & both have separate gem sets with libv8 only present in 1.8.7 (I use switch rvm to use the different rubies). I'm completely at a loss as to why this is happening. 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/ iQEcBAEBAgAGBQJPLVl5AAoJEKpMeDHWT5ADC3IIALPP+FRLNINjBkyikddgSNxC +pgF0kD6PaPjC19oaP18kzV6H8GH7HwvJW+vYC8TsmNoDjGCR8TM2tP4Oxxw8IRH VDKVt8taxbXhhFtAfZRIrx46FicvGiuNxuGF+pBPjKY4O3O29ZC5g7gR+rN1XaEY dRaDn84o+MndX3oSqdIA9+ScJLrItcvqGJDwpfWA28TNTlBS/X7iT2/b8lO9ETFd QcKbXej1hy6Lh89BTuni8mw2L7/nLykL/TYvpT0oV2ioZi/tKstZXu8l6JfUJ4+x BsJexB91gevaqVfFPgHFq/R9LpdlJlQTkwMP17ctMCo+I5WdvW/nkG8DVfoEIII= =Zlfi -----END PGP SIGNATURE-----