ラベル jruby の投稿を表示しています。 すべての投稿を表示
ラベル jruby の投稿を表示しています。 すべての投稿を表示

2009-07-17

Make Java environment,Stuck on Debian

Make Java environment on Debian Lenny

(non free)

I stuck to ant for jruby.

1st.add it your /etc/apt/sources.list

deb http://mirrors.kernel.org/debian/ lenny main non-free
# this is your main mirrors when you install
deb-src http://mirrors.kernel.org/debian/ lenny main non-free
# this is your main mirrors when you install

deb http://security.debian.org/ lenny/updates main non-free
deb-src http://security.debian.org/ lenny/updates main non-free

2nd.

aptitude update
aptitude install sun-java6-jdk

3rd.if you need.
update-java-alternatives -s java-6-sun
echo 'JAVA_HOME="/usr/lib/jvm/java-6-sun"' | tee -a /etc/environment

2009-06-16

run Jruby on Google App Engine from windows

Basically follow this lecture OK.
http://blog.bigcurl.de/2009/04/running-sinatra-apps-on-google.html
jruby-rack
Get a fresh version from http://github.com/nicksieger/jruby-rack/tree/master

cd jruby-rack
PATH-TO-JRUBY/bin/jruby -S rake SKIP_SPECS=true

1.You should check directory.
ex.)C:\jruby-rack
should not path include "space" etc.
I could not rake in Document~ directory.
2.use Jruby from "git clone git://kenai.com/jruby~main"
I stuck use other dist.

that all,no problems
p.s. better has Cygwin for use split-jruby.sh
and when running on local by C:\appengine-java-sdk-1.2.0\bin\dev_appserver.cmd,error.
But in Google App Engine,no error.
this is my TODO:

BCM4321 on Latitude D430

At kernel 3 find wireless hardware lspci | grep -i wireless  check using current kernel module with PCI bus address lspci -vv -s 0c:...