With the objective of implementing Rails 5.2.4, I just installed PostgreSQL 13 on a new SUSE 15.1 server, then Ruby 2.6.6, and I am now trying to install PostgreSQL client gem: pg version 1.2.3.
I first tried to run gem install pg, which claims for missing files pg_config and libpq-fe.h:
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
current directory: /home/a80838986/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/pg-1.2.3/ext
/home/a80838986/.rbenv/versions/2.6.6/bin/ruby -I /home/a80838986/.rbenv/versions/2.6.6/lib/ruby/2.6.0 -r ./siteconf20201103-26887-19gz250.rb extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/a80838986/.rbenv/versions/2.6.6/bin/$(RUBY_BASE_NAME)
--with-pg
--without-pg
--enable-windows-cross
--disable-windows-cross
--with-pg-config
--without-pg-config
--with-pg_config
--without-pg_config
--with-pg-dir
--without-pg-dir
--with-pg-include
--without-pg-include=${pg-dir}/include
--with-pg-lib
--without-pg-lib=${pg-dir}/lib
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/a80838986/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0/pg-1.2.3/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/a80838986/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/pg-1.2.3 for inspection.
Results logged to /home/a80838986/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0/pg-1.2.3/gem_make.out
Searching in the file system, I found a set of files which could fulfill gem's install requirements, but I can't find out how to run the install with these:
ls -l /usr/include/pgsql/ total 152
-rwxr-xr-x 1 root root 656 Oct 29 01:11 ecpg_config.h
-rwxr-xr-x 1 root root 2544 Oct 29 01:11 ecpgerrno.h
-rwxr-xr-x 1 root root 2803 Oct 29 01:11 ecpg_informix.h
-rwxr-xr-x 1 root root 2681 Oct 29 01:11 ecpglib.h
-rwxr-xr-x 1 root root 2709 Oct 29 01:11 ecpgtype.h
drwxr-xr-x 1 root root 8 Nov 3 12:25 informix
drwxr-xr-x 1 root root 102 Nov 3 12:25 internal
drwxr-xr-x 1 root root 20 Nov 3 12:25 libpq
-rwxr-xr-x 1 root root 2214 Oct 29 01:11 libpq-events.h
-rwxr-xr-x 1 root root 23338 Oct 29 01:11 libpq-fe.h
-rwxr-xr-x 1 root root 323 Oct 29 01:11 pg_config_ext.h
-rwxr-xr-x 1 root root 31970 Oct 29 01:11 pg_config.h
-rwxr-xr-x 1 root root 12877 Oct 29 01:11 pg_config_manual.h
-rwxr-xr-x 1 root root 1052 Oct 29 01:11 pg_config_os.h
-rwxr-xr-x 1 root root 797 Oct 29 01:11 pgtypes_date.h
-rwxr-xr-x 1 root root 530 Oct 29 01:11 pgtypes_error.h
-rwxr-xr-x 1 root root 222 Oct 29 01:11 pgtypes.h
-rwxr-xr-x 1 root root 1032 Oct 29 01:11 pgtypes_interval.h
-rwxr-xr-x 1 root root 2251 Oct 29 01:11 pgtypes_numeric.h
-rwxr-xr-x 1 root root 945 Oct 29 01:11 pgtypes_timestamp.h
-rwxr-xr-x 1 root root 2239 Oct 29 01:11 postgres_ext.h
-rwxr-xr-x 1 root root 838 Oct 29 01:11 sql3types.h
-rwxr-xr-x 1 root root 1283 Oct 29 01:11 sqlca.h
-rwxr-xr-x 1 root root 1575 Oct 29 01:11 sqlda-compat.h
-rwxr-xr-x 1 root root 321 Oct 29 01:11 sqlda.h
-rwxr-xr-x 1 root root 824 Oct 29 01:11 sqlda-native.h
The pg_config is still missing, the libpq-fe.h is there, but:
The no-pg-config option has no effect.
I dont know how to set the pass to libpq-fe.h
Can you help me finalize this installation?
I found out that the pg_config utility belongs to the postgresql13-server-devel package. Installing this package solved my issue.
Related
I am writing Unit Tests in Objective C.
The following is my code:
NSString *testTempDirectory = [NSString stringWithFormat:#"%#%#", NSTemporaryDirectory(), #"DC_Tests"];
NSURL *parentDirURL = [NSURL fileURLWithPath:testTempDirectory];
NSURL *testFolderURL = [NSURL fileURLWithPath:testFolderPath];
Now the path in testFolderURL is returned as
/var/folders/31/2dpztnmx4fzfxb87qtn5_n0wc49pvz/T/DC_Tests/testFolder/
But the original path is
/private/var/folders/31/2dpztnmx4fzfxb87qtn5_n0wc49pvz/T/DC_Tests/testFolder/
The original path is my expected path and since it is different, my assertion is failing.
Any idea as to how do I get the complete path.
Note: I tried absolute string, doesn't help.
Note that in Mac OS, the var folder is actually a linked folder to /private/var
$ ls -l /
total 45
drwxrwxr-x+ 61 root admin 2074 Jun 11 08:58 Applications
drwxr-xr-x+ 63 root wheel 2142 Jul 6 2016 Library
drwxr-xr-x# 2 root wheel 68 Aug 24 2015 Network
drwxr-xr-x# 4 root wheel 136 Jun 9 18:56 System
drwxr-xr-x 6 root admin 204 Apr 22 2016 Users
drwxrwxrwt# 4 root admin 136 Jun 15 09:53 Volumes
drwxr-xr-x# 39 root wheel 1326 Jun 9 18:56 bin
drwxrwxr-t# 2 root admin 68 Aug 24 2015 cores
dr-xr-xr-x 3 root wheel 4312 Jun 9 18:57 dev
lrwxr-xr-x# 1 root wheel 11 Oct 18 2015 etc -> private/etc
dr-xr-xr-x 2 root wheel 1 Jun 9 18:58 home
-rw-r--r--# 1 root wheel 313 Aug 23 2015 installer.failurerequests
dr-xr-xr-x 2 root wheel 1 Jun 9 18:58 net
drwxr-xr-x# 6 root wheel 204 Oct 18 2015 private
drwxr-xr-x# 59 root wheel 2006 Jun 9 18:56 sbin
lrwxr-xr-x# 1 root wheel 11 Oct 18 2015 tmp -> private/tmp
drwxr-xr-x# 13 root wheel 442 Apr 19 2016 usr
lrwxr-xr-x# 1 root wheel 11 Oct 18 2015 var -> private/var
So the simplest way to fix your test is to ignore the /private part from the path. (We had a similar issue with paths that contain the tmp folder on Mac OS as well)
EDIT 2015-29-10. II. In fact -arch armv7 instead of -arch arm64 and without lowering optimization, worked perfectly.
EDIT 2015-29-10. I. I tried to add
export CFLAGS="-O1"
export CXXFLAGS="-O1"
before configure, and had the same error, with a different file missing this time :
"/usr/local/cctools-arm64-port/bin/ld" -demangle -dynamic -arch arm64 -iphoneos_version_min 5.0.0 -syslibroot /usr/local/iPhoneOS8.4.sdk -o testcpp /var/tmp/testcpp-4f79ac.o -lstdc++ -lSystem
ld: file not found: N?L
I also tried with -O0 optimization instead of -01, same result.
EDIT 2015-28-10. II. I did this :
./autogen.sh
export CC="clang -arch arm64 -mios-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk"
export CXX="clang++ -arch arm64 -mios-version-min=8.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk"
./configure -v --host=arm-apple-darwin11 --prefix=/usr/local/lvm-cross/cctools-arm64-port
unset CC CXX
make && sudo make install
Then I tried a simple hello world on iDevice, with testcpp.cpp containing :
#include <iostream>
int main()
{
std::cout << "oijo" << std::endl;
return 0;
}
compiled with
clang++ -v -isysroot /usr/local/iPhoneOS8.4.sdk -target arm64-apple-darwin11 testcpp.cpp -o testcpp
which gave me :
clang version 3.7.0 (tags/RELEASE_370/final)
Target: arm64-apple-darwin11
Thread model: posix
"/usr/local/llvm-ios/bin/clang++" -cc1 -triple arm64-apple-ios5.0.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name testcpp.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -target-cpu generic -target-feature +neon -target-abi darwinpcs -target-linker-version 253.3.3 -v -dwarf-column-info -resource-dir /usr/local/llvm-ios/bin/../lib/clang/3.7.0 -isysroot /usr/local/iPhoneOS8.4.sdk -fdeprecated-macro -fdebug-compilation-dir /var/mobile/Documents/CODING/MY/TESTS_0/CPP -ferror-limit 19 -fmessage-length 108 -stack-protector 1 -mstackrealign -fallow-half-arguments-and-returns -fblocks -fobjc-runtime=ios-5.0.0 -fencode-extended-block-signature -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o /var/tmp/testcpp-f1de66.o -x c++ testcpp.cpp
clang -cc1 version 3.7.0 based upon LLVM 3.7.0 default target arm-apple-darwin14.0.0
ignoring nonexistent directory "/usr/local/iPhoneOS8.4.sdk/usr/include/c++/4.2.1/arm64-apple-darwin10/"
ignoring nonexistent directory "/usr/local/iPhoneOS8.4.sdk/usr/local/include"
ignoring nonexistent directory "/usr/local/iPhoneOS8.4.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/iPhoneOS8.4.sdk/usr/include/c++/4.2.1
/usr/local/iPhoneOS8.4.sdk/usr/include/c++/4.2.1/backward
/usr/local/llvm-ios/bin/../lib/clang/3.7.0/include
/usr/local/iPhoneOS8.4.sdk/usr/include
/usr/local/iPhoneOS8.4.sdk/System/Library/Frameworks (framework directory)
End of search list.
"/usr/local/cctools-arm64-port/bin/ld" -demangle -dynamic -arch arm64 -iphoneos_version_min 5.0.0 -syslibroot /usr/local/iPhoneOS8.4.sdk -o testcpp /var/tmp/testcpp-f1de66.o -lstdc++ -lSystem
ld: file not found: ?4
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
I also tried without the unset CC CXX, with the same "success"...
EDIT 2015-28-10. I. Using cydia solutions as suggested indeed worked, but I definitely want to build it myself, so I followed the https://github.com/tpoechtrager/cctools-port way. As it is way too boring to get/build libtool for mac os, I switched to a vitual box ubuntu 15.10 64 bits, where I sudo apt-get install'ed the following packages : automake, autogen, libtool, clang-3.7, uuid-dev and llvm-3.7-dev. Then I cd'ed to the cctools directory and did :
./autogen.sh
export CC="clang-3.7 -arch arm64"
export CXX="clang++-3.7 -arch arm64"
./configure --prefix=/home/lvm-ubuntu/Desktop/iPad/cctools-produced/ --host=arm-apple-darwin11
make
(The complete output is in the new following gist.) make produced the following warnings and errors :
clang: warning: argument unused during compilation: '-arch arm64'
../include/foreign/libkern/arm/OSByteOrder.h:11:10: error: redefinition of
'_OSSwapInt16'
uint16_t _OSSwapInt16(uint16_t data)
^
../include/foreign/libkern/i386/_OSByteOrder.h:46:1: note: previous definition
is here
_OSSwapInt16(
^
and analogue errors for _OSSwapInt32 and _OSSwapInt64... I must be for sure doing something wrong.
Initial question.
I succeed in cross-building clang+llvm for iOS8.4 on a jailbroken iPad mini 3 wifi, mainly thanks to the two following questions :
https://stackoverflow.com/questions/32808144/how-to-cross-compile-clang-llvm-3-7-0-for-ios8-x-on-ipad-mini-3/
and
https://stackoverflow.com/questions/23946851/how-to-cross-compile-clang-llvm-for-ios/
Set all paths etc, and tried a clang++ -v testcpp.cpp -o testcpp where testcpp.cppcontains :
int main()
{
return 0;
}
and got this :
clang++: error: unable to execute command: Executable "ld" doesn't exist!
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
(the whole verbose output is in this gist.)
Obviously I don't have GNU's ld nor any real "remplacement" of it (by llvm-clang), so that I am asking myself : what is my strategy in this case ? (Having no linker, I can't even try to build binutils on my iPad to use its ld).
Precision : I would like the linking to be done behind the scene, so that I could keep doing clang++ -v testcpp.cpp -o testcpp, that is, I don't want to do the linking "manually" myself in several steps. (But a script could be ok, even if I find more elegant to have a real ld replacement...)
Remark : in llvm-clang bin folder I have this :
XXXXs-iPad:/usr/local/llvm-ios/bin mobile$ ls -l
total 274412
-rwxr-xr-x 1 root wheel 205456 Oct 18 12:49 FileCheck*
-rwxr-xr-x 1 root wheel 7704096 Oct 18 12:48 bugpoint*
-rwxr-xr-x 1 root wheel 122036 Oct 18 12:48 c-index-test*
-rwxr-xr-x 1 root wheel 40802004 Oct 18 12:48 clang*
-rwxr-xr-x 1 root wheel 40802004 Oct 18 12:49 clang++*
-rwxr-xr-x 1 root wheel 31252792 Oct 18 12:49 clang-check*
-rwxr-xr-x 1 root wheel 1225352 Oct 18 12:49 clang-format*
-rwxr-xr-x 1 root wheel 671500 Oct 18 12:49 clang-tblgen*
-rwxr-xr-x 1 root wheel 49684 Oct 18 12:49 count*
-rwxr-xr-x 1 root wheel 22439396 Oct 18 12:49 llc*
-rwxr-xr-x 1 root wheel 10351388 Oct 18 12:49 lli*
-rwxr-xr-x 1 root wheel 208140 Oct 18 12:49 lli-child-target*
-rwxr-xr-x 1 root wheel 9144692 Oct 18 12:49 llvm-ar*
-rwxr-xr-x 1 root wheel 1619592 Oct 18 12:49 llvm-as*
-rwxr-xr-x 1 root wheel 155080 Oct 18 12:49 llvm-bcanalyzer*
-rwxr-xr-x 1 root wheel 120864 Oct 18 12:49 llvm-config*
-rwxr-xr-x 1 root wheel 92232 Oct 18 12:49 llvm-config-host*
-rwxr-xr-x 1 root wheel 1604600 Oct 18 12:49 llvm-cov*
-rwxr-xr-x 1 root wheel 1472656 Oct 18 12:49 llvm-cxxdump*
-rwxr-xr-x 1 root wheel 1471516 Oct 18 12:49 llvm-diff*
-rwxr-xr-x 1 root wheel 1225632 Oct 18 12:49 llvm-dis*
-rwxr-xr-x 1 root wheel 18342488 Oct 18 12:49 llvm-dsymutil*
-rwxr-xr-x 1 root wheel 419892 Oct 18 12:49 llvm-dwarfdump*
-rwxr-xr-x 1 root wheel 1686496 Oct 18 12:49 llvm-extract*
-rwxr-xr-x 1 root wheel 1800856 Oct 18 12:49 llvm-link*
-rwxr-xr-x 1 root wheel 10140692 Oct 18 12:49 llvm-mc*
-rwxr-xr-x 1 root wheel 138552 Oct 18 12:49 llvm-mcmarkup*
-rwxr-xr-x 1 root wheel 9144172 Oct 18 12:49 llvm-nm*
-rwxr-xr-x 1 root wheel 11554352 Oct 18 12:49 llvm-objdump*
-rwxr-xr-x 1 root wheel 220840 Oct 18 12:49 llvm-pdbdump*
-rwxr-xr-x 1 root wheel 469920 Oct 18 12:49 llvm-profdata*
-rwxr-xr-x 1 root wheel 9144692 Oct 18 12:49 llvm-ranlib*
-rwxr-xr-x 1 root wheel 1768528 Oct 18 12:49 llvm-readobj*
-rwxr-xr-x 1 root wheel 8388100 Oct 18 12:50 llvm-rtdyld*
-rwxr-xr-x 1 root wheel 1489124 Oct 18 12:50 llvm-size*
-rwxr-xr-x 1 root wheel 2106052 Oct 18 12:50 llvm-stress*
-rwxr-xr-x 1 root wheel 1610176 Oct 18 12:50 llvm-symbolizer*
-rwxr-xr-x 1 root wheel 1422732 Oct 18 12:50 llvm-tblgen*
-rwxr-xr-x 1 root wheel 1455516 Oct 18 12:50 macho-dump*
-rwxr-xr-x 1 root wheel 71184 Oct 18 12:50 not*
-rwxr-xr-x 1 root wheel 1620520 Oct 18 12:50 obj2yaml*
-rwxr-xr-x 1 root wheel 23007212 Oct 18 12:50 opt*
-rwxr-xr-x 1 root wheel 1768416 Oct 18 12:50 verify-uselistorder*
-rwxr-xr-x 1 root wheel 402360 Oct 18 12:50 yaml2obj*
Install org.coolstar.cctools and org.coolstar.ld64 via Cydia.
Or, alternatively, build https://github.com/tpoechtrager/cctools-port by hand.
CXX="clang++ -arch arm64" CC="clang -arch arm64" ./configure --host=arm-apple-darwin11
I am trying to build Gerrit plugin "events-log" jar ( https://gerrit.googlesource.com/plugins/events-log) via Buck build, but its failing with below error:
root#jenkins-test:~/events-log# ll
drwxr-xr-x 7 root root 4096 Jun 29 13:25 ./
drwxrwxr-x 24 root root 4096 Jun 29 13:22 ../
-rw-r--r-- 1 root root 1017 Jun 29 12:57 BUCK
-rw-r--r-- 1 root root 173 Jun 29 12:57 .buckconfig
drwxr-xr-x 3 root root 4096 Jun 29 13:25 .buckd/
drwxr-xr-x 6 root root 4096 Jun 29 13:05 buck-out/
drwxr-xr-x 8 root root 4096 Jun 29 13:27 .git/
-rw-r--r-- 1 root root 146 Jun 29 12:57 .gitignore
drwxr-xr-x 5 root root 4096 Jun 29 12:57 lib/
drwxr-xr-x 4 root root 4096 Jun 29 12:57 src/
root#jenkins-test:~/events-log# /root/buck/bin/buck build events-log:events-
log
Using buckd.
BUILD FAILED: No build file at events-log/BUCK when resolving target
//events-log:events-log.
Can somebody please tell how to fix it and build the jar.
Thanks
I think I've finally figured it out ...
What I wound up doing is checking out Gerrit and building the events-log plugin in the Gerrit tree.
git clone https://gerrit.googlesource.com/gerrit
cd gerrit
git co v2.11.2
git submodule init
git submodule update
git clone https://gerrit.googlesource.com/plugins/events-log plugins/events-log
buck build plugins/events-log
I'm pretty sure you just want /root/buck/bin/buck build //:events-log. See http://buckbuild.com/concept/build_target.html
Eventually I found src/main/resources/Documentation/build.md, with which I finally succeeded in building events-log:
git clone https://gerrit.googlesource.com/plugins/events-log
git clone https://gerrit.googlesource.com/bucklets
cd events-log
git checkout stable-2.12
ln -s ../bucklets .
ln -s bucklets/buckversion .buckversion
ln -s bucklets/watchmanconfig .watchmanconfig
buck build plugin
This builds buck-out/gen/events-log.jar.
If the version is 2.14 or later, please use bazle to build
And I also try to build v2.13 with buck, you need to modify gerrit_plugin.bucklet which is under bucklets folder
Old content:
target_suffix = ''):
from multiprocessing import cpu_count
from os import path,getcwd
New content:
target_suffix = ''):
with allow_unsafe_import():
from multiprocessing import cpu_count
from os import path,getcwd
Then execute "buck build plugin
Out put:
ruhu#CCM-P700:~/tools/events-log$ buck build plugin
Download http://repo1.maven.org/maven2/com/google/code/gson/gson/2.3.1/gson-2.3.1-sources.jar
Download http://repo1.maven.org/maven2/com/google/code/gson/gson/2.3.1/gson-2.3.1.jar
Download http://repo1.maven.org/maven2/com/google/gerrit/gerrit-plugin-api/2.13/gerrit-plugin-api-2.13.jar
Parsing buck files: finished in 1.3 sec (100%)
Creating action graph: finished in 1.6 sec (100%)
Building: finished in 03:47.3 min (100%) 19/19 jobs, 19 updated, 94.7% cache mis
Total time: 03:50.3 min
Im trying to follow a tutorial to do a CORBA assignment.
project
-Client/HelloClient.java
-Server/HelloServer.java
-Hello.idl
I do the first step, trying to compile the IDL (from the project root), and it fails.
$ idlj –td Client –fclient Hello.idl
com.sun.tools.corba.se.idl.InvalidArgument: Invalid argument: –td.
java version "1.8.0_11"
$ ls -l
total 16
drwxr-xr-x 3 juliusskye staff 102 Oct 28 20:14 Client
-rw-r-----# 1 juliusskye staff 85 Oct 28 17:49 Hello.idl
drwxr-xr-x 3 juliusskye staff 102 Oct 28 17:52 Server
-rw-r--r-- 1 juliusskye staff 425 Oct 29 13:45 idljintro.iml
drwxr-xr-x 2 juliusskye staff 68 Oct 29 13:45 src
I found this which says CORBA has problems parsing paths with / in front. But mine doesn't have a /
apparently the Lecturer's instructions were wrong or outdated or the compiler is not fully working but compilation of all files is achieved by
idlj -fall hello.idl
I have a rails application deployed to jboss as a war packaged using warbler. The application has been working great for a while now.
I am looking to change the rails application so that rails, all gems and their dependencies are vendor'd. To that extent I have it working great and can boot the application locally using mongrel with no issues, and can also build the war with no issues
However when I deploy the war to jboss it fails to load the application successfully saying it cant find activerecord-jdbcmysql-adapter.
2010-10-26 14:20:23,281 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/lmd4]] (main) unable to create shared application instance
org.jruby.rack.RackInitializationException: Please install the jdbcmysql adapter: `gem install activerecord-jdbcmysql-adapter` (no such file to load -- active_record/connection_adapters/jdbcmysql_adapter)
This is what i have done so far:
Make sure config/warble.rb has an entry for activerecord-jdbcmysql-adapter
config.gems += ["activerecord-jdbcmysql-adapter", "jruby-openssl"]
Manually unpacked the war and confirmed the gems are present
WEB-INF/gems/gems
drwxrwxr-x 7 4096 Oct 26 14:14 activerecord-jdbc-adapter-1.0.2-java
drwxrwxr-x 3 4096 Oct 26 14:14 activerecord-jdbcmysql-adapter-1.0.2-java
drwxrwxr-x 3 4096 Oct 26 14:14 bouncy-castle-java-1.5.0145.2
drwxrwxr-x 3 4096 Oct 26 14:14 jdbc-mysql-5.0.4
drwxrwxr-x 4 4096 Oct 26 14:14 jruby-openssl-0.7.1
drwxrwxr-x 7 4096 Oct 26 14:14 rack-1.1.0
WEB-INF/vendor/gems
drwxrwxr-x 7 4096 Oct 26 14:14 activerecord-jdbc-adapter-1.0.2-java
drwxrwxr-x 3 4096 Oct 26 14:14 activerecord-jdbcmysql-adapter-1.0.2-java
drwxrwxr-x 3 4096 Oct 26 14:14 bouncy-castle-java-1.5.0145.2
drwxrwxr-x 5 4096 Oct 26 14:14 fastercsv-1.5.3
drwxrwxr-x 12 4096 Oct 26 14:14 hobo-1.0.1
drwxrwxr-x 7 4096 Oct 26 14:14 hobofields-1.0.1
drwxrwxr-x 4 4096 Oct 26 14:14 hobosupport-1.0.1
drwxrwxr-x 3 4096 Oct 26 14:14 jdbc-mysql-5.0.4
drwxrwxr-x 4 4096 Oct 26 14:14 jruby-openssl-0.7.1
drwxrwxr-x 4 4096 Oct 26 14:14 json-1.4.6-java
drwxrwxr-x 2 4096 Oct 26 14:14 json-jruby-1.4.6-java
drwxrwxr-x 7 4096 Oct 26 14:14 rack-1.1.0
drwxrwxr-x 4 4096 Oct 26 14:14 will_paginate-2.3.15
I dunno what could be causing this but if anyone has any ideas please share?
JBoss 5
Rails 2.3.10
JRuby 1.5
Thanks
Could be a JBoss/JRuby-Rack interaction issue. We've had some reports in the past of this not working due to JBoss' use of VFS in class and resource paths and URLs. You could be tripping on this as well.
Can you try the same war file in Tomcat 6 to isolate JBoss as part of the equation? Then please post a bug at http://kenai.com/jira/browse/JRUBY_RACK or http://bugs.jruby.org/.