William Ross said the following on 08/31/2010 06:02 AM:
> On 29 Aug 2010, at 19:01, Anton J Aylward wrote:
>
>> [...]
>>
>> I've had a number of Radiant app running on Dreamhost.
>> All was well.
>> Then they upgraded me to a 64-bit machine.
>> This broke all the local compiled gems in ~/.gems/
>>
>> So I deleted, reloaded and recompiled.
>> As you can see from the error message, this still doesn't work.
>> Dreamhost don't support Radiant/RoR and just advised me to recompile.
>>
>> Well I did recompile:
>
> Please could you show us the output you get from
>
> # gem environment
>
> This looks like a linking sort of problem.
[laney:/home/antonaylward]$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.6
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
- INSTALLATION DIRECTORY: /home/antonaylward/.gems
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /home/antonaylward/.gems/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /home/antonaylward/.gems
- /usr/lib/ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org/", "http://gems.github.com"]
- REMOTE SOURCES:
- http://gems.rubyforge.org/
- http://gems.github.com
[laney:/home/antonaylward]$ ls -l
~/.gems/gems/RedCloth-4.2.3/lib/redcloth_scan.so
-rwxr-xr-x 1 antonaylward pg917164 711535 2010-08-19 04:57
/home/antonaylward/.gems/gems/RedCloth-4.2.3/lib/redcloth_scan.so*
[laney:/home/antonaylward]$ file
~/.gems/gems/RedCloth-4.2.3/lib/redcloth_scan.so
/home/antonaylward/.gems/gems/RedCloth-4.2.3/lib/redcloth_scan.so: ELF
64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked,
not stripped
--
There is only one quality worse than hardness of heart and that is
softness of head.
--Theodore Roosevelt