what less painful ways install ruby on aix?
i found out using rvm install ruby might best option. however, installing rvm seems maddening. found article ibm website on how install rvm there many prerequisites feel take me days stuff installed , working:
however, rvm have prerequisites. before continue, check system , sure have bash, git, tar, curl, gunzip, , bunzip2 utilities installed locally. in addition, system must have readline, iconv, zlib, openssl, , autoconf packages build ruby interpreters. must have bash shell install rvm, can use rvm z shell version 4.3.5 or higher after rvm installed. git required automatically update rvm, , explained shortly.
i looked git , has @ least 10 prerequisites (includes python know has tons of prerequisites well).
is there way can install prerequisites in once?
http://www.ibm.com/developerworks/aix/library/au-aix-manage-ruby/
i managed done couple of years ago (ruby 2.0.0). installed compiling source did not have root access , wanted install in afs directory anyway.
here question , answer own question: how configure ruby compile in 64 bit mode on aix
here notes had on how well. if recall using /usr/bin/ksh93 provided huge speedup, details why, using default ksh installed on our servers painfully slow.
export libpath=/usr/lib export config_shell=/usr/bin/ksh93 export object_mode=64 ./configure --enable-shared --enable-load-relative --disable-install-doc --prefix=your_install_path_here --exec-prefix=your_install_path_here/aix cc="gcc" cflags="-maix64 -mminimal-toc" cxx="g++" cxxflags="-maix64 -mminimal-toc" nm="nm -x64" ar="ar -x64" ldflags="-maix64 -wl,-bbigtoc" extldflags="-maix64 -wl,-bbigtoc" dldflags="-shared -maix64 -wl,-bbigtoc"
i install new version painful @ time.
update
another less painful way use ruby on aix install jruby. have done well, , make use of gui's via swt. biggest downside jruby has spin jvm, takes time. not big deal long running programs, short scripts can noticeable
Comments
Post a Comment