--Apple-Mail=_79A5EBC5-3E90-45DF-8317-53BEDF0B604F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hello,

I'm trying to migrate a rails prototype application on a Mac Mini G4 =
PowerPC running Debian. Not sure if this ML is the best place for this =
kind of thread, but I'll give it a go. If someone thinks there's a =
better place to discuss this issue please let me know.

I compiled 'Node.js' manually from Github[1] which allowed 'ExecJS'[2] =
to be compiled successfully. Now the application runs on the server but =
I can't compile the 'assets'. Here is the error:

=
--------------------------------------------------------------------------=
----------------------------------------------------------------------
atma@mini:/usr/share/nginx/www/poly3$ bundle exec rake assets:precompile =
--trace

** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute assets:precompile
rake aborted!
ExecJS::RuntimeError: Illegal instruction

  (in =
/usr/local/rvm/gems/ruby-2.1.0/gems/turbolinks-2.2.2/lib/assets/javascript=
s/turbolinks.js.coffee)/usr/local/rvm/gems/ruby-2.1.0/gems/execjs-2.0.2/li=
b/execjs/external_runtime.rb:142:in `exec_runtime'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/execjs-2.0.2/lib/execjs/external_runti=
me.rb:28:in `block in exec'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/execjs-2.0.2/lib/execjs/external_runti=
me.rb:41:in `compile_to_tempfile'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/execjs-2.0.2/lib/execjs/external_runti=
me.rb:27:in `exec'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/execjs-2.0.2/lib/execjs/external_runti=
me.rb:19:in `eval'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/execjs-2.0.2/lib/execjs/external_runti=
me.rb:33:in `call'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/coffee-script-2.2.0/lib/coffee_script.=
rb:57:in `compile'
/usr/local/rvm/gems/ruby-2.1.0/gems/tilt-1.4.1/lib/tilt/coffee.rb:46:in =
`evaluate'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in=
 `render'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/context=
.rb:197:in `block in evaluate'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/context=
.rb:194:in `each'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/context=
.rb:194:in `evaluate'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/process=
ed_asset.rb:12:in `initialize'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:374:in `new'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:374:in `block in build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:395:in `circular_call_protection'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:373:in `build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:94:in `block in build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/caching=
.rb:58:in `cache_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:93:in `build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:287:in `find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:61:in `find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/process=
ed_asset.rb:111:in `block in resolve_dependencies'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/process=
ed_asset.rb:105:in `each'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/process=
ed_asset.rb:105:in `resolve_dependencies'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/process=
ed_asset.rb:97:in `build_required_assets'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/process=
ed_asset.rb:16:in `initialize'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:374:in `new'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:374:in `block in build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:395:in `circular_call_protection'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:373:in `build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:94:in `block in build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/caching=
.rb:58:in `cache_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:93:in `build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:287:in `find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:61:in `find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/bundled=
_asset.rb:16:in `initialize'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:377:in `new'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:377:in `build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:94:in `block in build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/caching=
.rb:58:in `cache_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:93:in `build_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb=
:287:in `find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.r=
b:61:in `find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifes=
t.rb:211:in `block in find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifes=
t.rb:257:in `benchmark'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifes=
t.rb:210:in `find_asset'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifes=
t.rb:119:in `block in compile'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifes=
t.rb:118:in `each'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/sprockets/manifes=
t.rb:118:in `compile'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/ra=
ils/task.rb:60:in `block (3 levels) in define'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-2.11.0/lib/rake/sprocketstas=
k.rb:146:in `with_logger'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/ra=
ils/task.rb:59:in `block (2 levels) in define'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/task.rb:240:in =
`call'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/task.rb:240:in =
`block in execute'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/task.rb:235:in =
`each'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/task.rb:235:in =
`execute'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/task.rb:179:in =
`block in invoke_with_call_chain'
/usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in =
`mon_synchronize'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/task.rb:172:in =
`invoke_with_call_chain'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/task.rb:165:in =
`invoke'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:15=
0:in `invoke_task'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:10=
6:in `block (2 levels) in top_level'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:10=
6:in `each'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:10=
6:in `block in top_level'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:11=
5:in `run_with_threads'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:10=
0:in `top_level'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:78=
:in `block in run'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:17=
6:in `standard_exception_handling'
=
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/lib/rake/application.rb:75=
:in `run'
/usr/local/rvm/gems/ruby-2.1.0/gems/rake-10.3.1/bin/rake:33:in `<top =
(required)>'
/usr/local/rvm/gems/ruby-2.1.0/bin/rake:23:in `load'
/usr/local/rvm/gems/ruby-2.1.0/bin/rake:23:in `<main>'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP =3D> assets:precompile
=
--------------------------------------------------------------------------=
----------------------------------------------------------------------

I have already tried all the solutions listed in the SO thread[3] but =
nothing seems to work for me. I think it has something to do with the =
architecture but I'm not sure. Any tips or hints please share.

Best regards,


[1] https://github.com/andrewlow/v8ppc
[2] https://github.com/sstephenson/execjs
[3] =
http://stackoverflow.com/questions/12520456/execjsruntimeerror-on-windows-=
trying-to-follow-rubytutorial


Panagiotis (atmosx) Atmatzidis

email:	atma / convalesco.org
URL:	http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5

"As you set out for Ithaca, hope the voyage is a long one, full of =
adventure, full of discovery [...]" - C. P. Cavafy





--Apple-Mail=_79A5EBC5-3E90-45DF-8317-53BEDF0B604F
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: Public Key Encryption

iQIcBAEBAgAGBQJTwCTTAAoJEPy01a8ae/7FxtwP/3LgmYnpdfyVktiX+2nnrGyY
z64GTe+r3B+DSC4sbH8VOQhmEGgP9+JUgJ5gVy430/AHybsVwDWDJj/RVkaJq4GB
55VP0A473m4aG09/+Wg9kRI9rlWbefymewoVzPteyQMi/eBakR/tgEe3apjIJ4BD
IrkhxFQ7cOvsp20Ik25dhQg+jJK6gDA/oOmimgLGK5FkRaQatbJvm59G56+P1M2z
/roS8nyfPFWelMDUrcnsXukAD6Bh7lWbhiSpg2rrdSjwpT/TbJkl3xY/WCZ3/qnq
kn+XQ/QLisrn1AcNjffk+PBzv860AeDdsrg2AAu8ul7bR4FftBRW3mlTfxA67Y6Y
yaIYGAeu+hvgP+u9OZXvmpAUPemHferZsBP34tqlwTs0jDyEqX+JrR+JC3wHXn4U
gGJWA47UBkW/Z0DZBVacuhnJTh1C0b486vp9wsOhUhP0Rjtd3lrtb96GzoX9ou78
WLjhb5KuUf7rXDXrOK4D38InFiVnx9ol9L6Q4jVyLB4Rd9DzQ/zhTY0AWK2NENPp
Y1OaRK+nbv6Ph0bh9ag2OPYwIGxN4dAKalLJbggjdYcD4442kfA+bYudXAr2bRgt
FQJMUT0s1ExoawPUmkonHZQ42LvfE8HXgXFSA+c6uhg11RFuBTvQuyaxbilmKLcl
Fml9TuXuOL29JhqCc022
=fvUw
-----END PGP SIGNATURE-----

--Apple-Mail=_79A5EBC5-3E90-45DF-8317-53BEDF0B604F--