ruby - How can I update Python on Mac OS and have RubyGems use the new version? -
i having serious issues trying download "therubyracer" gem. think problem not have working libv8 library create gem.
i think not have working libv8 because rubygems keeps trying use "python 2.5.6", old gem install libv8. tried countless ways update python rubygems uses, however, cannot figure out.
here have done far. went http://www.python.org/download/releases/3.3.2/ , downloaded "(mac os x 64-bit/32-bit installer (3.3.2) mac os x 10.6 , later 2.)".
upon completion of download, ran:
gem install libv8 --version 3.11.8.17 yet, still received same error. noticed output still said:
"using python 2.5.4" despite downloading newer python version, not being used. how change version of python "gem" command uses? searched , discovered "virtualenv," appears python manager, bit @ dead end now. or suggestion?
if libv8 uses python command command line, should apply:
if not care python2 installed, can in command line:
type python # gives path of python command python /usr/bin/python type python2.7 python /usr/bin/python2.7 then can copy 1 on other
cp /usr/bin/python2.7 /usr/bin/python you can safely copy python2.7 there because compatible older versions.
suggestions?
Comments
Post a Comment