J
joelkeepup
Hi,
I am running centos 5.0 (64 bit) and want to run ruby 1.8.6 and rails.
I installed 1.8.6 from source using:
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p114.tar.gz
tar xfz ruby-*
cd ruby-*
../configure --prefix=/usr --enable-pthread --with-readline-dir=/usr/
local --enable-shared
make
sudo make install
Ruby seems to be there and ok,
ruby -v
ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]
but when I try to start my rails server, it complains:
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
`require_frameworks': no such file to load -- openssl.so
(RuntimeError)
When I look in:
/usr/lib/ruby/1.8/x86_64-linux/ - there is no open ssl library
but when I look in:
/usr/lib/ruby/1.8/i386-linux/openssl.so it is there , I tried copying
it over, but it didnt like that version.
any ideas?
Also is it possible just to force using the 32 bit version of ruby
even on this install?
thanks
Joel
I am running centos 5.0 (64 bit) and want to run ruby 1.8.6 and rails.
I installed 1.8.6 from source using:
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p114.tar.gz
tar xfz ruby-*
cd ruby-*
../configure --prefix=/usr --enable-pthread --with-readline-dir=/usr/
local --enable-shared
make
sudo make install
Ruby seems to be there and ok,
ruby -v
ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]
but when I try to start my rails server, it complains:
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:159:in
`require_frameworks': no such file to load -- openssl.so
(RuntimeError)
When I look in:
/usr/lib/ruby/1.8/x86_64-linux/ - there is no open ssl library
but when I look in:
/usr/lib/ruby/1.8/i386-linux/openssl.so it is there , I tried copying
it over, but it didnt like that version.
any ideas?
Also is it possible just to force using the 32 bit version of ruby
even on this install?
thanks
Joel