Hi Thomas,
Thanks for giving it a try. I’m using the code exactly as provided in
the repo, without any modifications. I can understand how you thought
it was a strange error because there aren’t any numbers. I thought the
same thing. 
Here’s what my JRuby environment looks like.
$ ruby -v -rpp -e ‘pp ENV’
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 f3a3480) (Java
HotSpot™ 64-Bit Server VM 1.6.0_20) [x86_64-java]
{“LANG”=>“en_US.UTF-8”,
“rvm_release_version”=>“1”,
“rvm_major_version”=>“5”,
“MANPATH”=>"/Users/michael/.rvm/man:",
“rvm_scripts_path”=>"/Users/michael/.rvm/scripts",
“rvm_ruby_gem_home”=>"/Users/michael/.rvm/gems/jruby-1.5.1",
“rvm_ruby_gem_path”=>
“/Users/michael/.rvm/gems/jruby-1.5.1:/Users/michael/.rvm/gems/[email protected]”,
“JAVA_ARCH”=>“x86_64”,
“GEM_PATH”=>
“/Users/michael/.rvm/gems/jruby-1.5.1:/Users/michael/.rvm/gems/[email protected]”,
“TERM_PROGRAM”=>“Apple_Terminal”,
“__shell_array_start”=>“0”,
“rvm_ruby_interpreter”=>“jruby”,
“rvm_ruby_string”=>“jruby-1.5.1”,
“rvm_verbose_flag”=>“1”,
“IRBRC”=>"/Users/michael/.rvm/rubies/jruby-1.5.1/.irbrc",
“USER”=>“michael”,
“rvm_ruby_home”=>"/Users/michael/.rvm/rubies/jruby-1.5.1",
“rvm_minor_version”=>“1”,
“TERM_PROGRAM_VERSION”=>“273”,
“JAVA_MAIN_CLASS_438”=>“org.jruby.Main”,
“SHLVL”=>“1”,
“rvm_bin_path”=>"/Users/michael/.rvm/bin",
“MY_RUBY_HOME”=>"/Users/michael/.rvm/rubies/jruby-1.5.1",
“rvm_rubies_path”=>"/Users/michael/.rvm/rubies",
“rvm_gems_path”=>"/Users/michael/.rvm/gems",
“TERM”=>“xterm-color”,
“rvm_ruby_src_path”=>"/Users/michael/.rvm/src/jruby-1.5.1",
“__CF_USER_TEXT_ENCODING”=>“0x1F5:0:0”,
“rvm_ruby_irbrc”=>"/Users/michael/.rvm/rubies/jruby-1.5.1/.irbrc",
“rvm_patchsets_path”=>"/Users/michael/.rvm/patchsets",
“TMPDIR”=>"/var/folders/HP/HPBSHqdtEI0ydtmLFEzALU+++TI/-Tmp-/",
“rvm_ruby_package_name”=>“jruby-1.5.1”,
“rvm_patches_path”=>"/Users/michael/.rvm/patches",
“rvm_tmp_path”=>"/Users/michael/.rvm/tmp",
“rvm_gemsets_path”=>"/Users/michael/.rvm/gemsets",
“SSH_AUTH_SOCK”=>"/tmp/launch-CNyFs4/Listeners",
“Apple_PubSub_Socket_Render”=>"/tmp/launch-scQfti/Render",
“rvm_ruby_log_path”=>"/Users/michael/.rvm/log/jruby-1.5.1",
“rvm_url”=>
“http://jruby.org.s3.amazonaws.com/downloads/1.5.1/jruby-bin-1.5.1.tar.gz”,
“rvm_ruby_version”=>“1.5.1”,
“BUNDLE_PATH”=>"/Users/michael/.rvm/gems/jruby-1.5.1",
“rvm_src_path”=>"/Users/michael/.rvm/src",
“rvm_log_path”=>"/Users/michael/.rvm/log",
“rvm_gems_cache_path”=>"/Users/michael/.rvm/gems/cache",
“GEM_HOME”=>"/Users/michael/.rvm/gems/jruby-1.5.1",
“rvm_repo_path”=>"/Users/michael/.rvm/repos",
“rvm_hooks_path”=>"/Users/michael/.rvm/hooks",
“DISPLAY”=>"/tmp/launch-vTuBi4/org.x:0",
“RUBY_VERSION”=>“jruby-1.5.1”,
“rvm_version”=>“0.1.40”,
“COMMAND_MODE”=>“unix2003”,
“rvm_interactive”=>“1”,
“rvm_gemset_separator”=>"@",
“rvm_config_path”=>"/Users/michael/.rvm/config",
“rvm_ruby_selected_flag”=>“1”,
“rvm_action”=>“use”,
“PATH”=>
“/Users/michael/.rvm/gems/jruby-1.5.1/bin:/Users/michael/.rvm/gems/[email protected]/bin:/Users/michael/.rvm/rubies/jruby-1.5.1/bin:/Users/michael/.rvm/bin:/usr/local/depot_tools:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin”,
“SHELL”=>"/bin/bash",
“rvm_path”=>"/Users/michael/.rvm",
“LOGNAME”=>“michael”,
“HOME”=>"/Users/michael",
“PWD”=>"/Users/michael",
“rvm_archives_path”=>"/Users/michael/.rvm/archives",
“rvm_ruby_binary”=>"/Users/michael/.rvm/rubies/jruby-1.5.1/bin/ruby"}
The only thing that I can think of about my environment that isn’t
exactly standard is that I’m using JRuby as installed by RVM instead
of installing it myself. However, I have tried downloading and
installing JRuby from jruby.org with the same result.
As far as character sets go, Vim tells me that both files (test.rb and
test.js) are encoded using utf-8.
I know that’s not a lot to go on. Any other ideas?
Thanks.
–
Michael J.
http://mjijackson.com
@mjijackson
On Sun, Jul 18, 2010 at 8:19 AM, Thomas E Enebo [email protected]
wrote:
always running)
http://github.com/yui/yuicompressor
`’
http://mjijackson.com
[[email protected]:jruby-yuicompressor]$ jdev -v test.rb
useful at the same time, and I’ve gotten most of the way there.
If someone with a bit more JRuby/Java experience would kindly take a
@mjijackson
–
blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email