IndianWebPortal.com

Something Different In Linux

Home » Error and solution » ruby lib version (1.8.7) doesn’t match executable version

Error : When accessing the page and it shows the “Internal server errror” and the server logs shows the folloging error

/home/username/public_html/rubytest2.htm:6: /usr/local/lib/ruby/1.8/i686-linux/rbconfig.rb:7: ruby lib version (1.8.7) doesn’t match executable version (1.8.6) (RuntimeError)
[Sun Mar 28 11:42:45 2010] [error] [client 124.124.251.228] Premature end of script headers: /home/username/public_html/cgi-bin/eruby.cgi
[Sun Mar 28 11:42:45 2010] [error] [client 124.124.251.228] File does not exist: /home/username/public_html/500.shtml

Solution : The problem due the ruby version updated on the serer., you need to update the eruby version on the server.

yum install eruby

cp /usr/bin/eruby  /home/username/public_html/cgi-bin/eruby.cgi

Done

2 Responses so far.


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...