

|
Valid XHTML v1.0
Author Profile
Top Authors
Log In to set widget preferences
| Author | # |
|---|---|
|
185 |
|
148 |
Anonymous User
|
49 |
|
28 |
Kimberly Hieber
|
27 |
|
23 |
Note: some conversations may be proxied or secured, thereby causing # differences
Subscribe
Partners
Recent
Tags
Log In to set widget preferences
Recent
Log In to set widget preferences
Most Active
Log In to set widget preferences
Popular
Log In to set widget preferences
|
|
Upgrading Ruby (1.8.7 patchlevel 72) and Gems
by Akif on 2008-11-11 10:20 PM read 187 times |
We are currently looking at upgrading Ruby to version 1.8.7 patchlevel 72 and upgrading gems to their latest versions.
Before making this upgrade an issue with the User Service will need to be resolved. It was was discovered that a bug gets introduced in the User Service when any Ruby version >= 1.8.6 patchlevel 114 is used. We are currently at Ruby 1.8.6 patchlevel 0.
This issue is caused due to the core REXML parser used by ruby, which in the newer versions of ruby raises an exception when an undefiend namespace is referenced in an XML document that is being parsed.
Installing Ruby 1.8.7 patchlevel 72 on a Windows Machine
Delete the environment variable RUBYOPT
Download the binary from the following location:
ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.8.7-p72-i386-mswin32.zip
Create a folder named c:\ruby and unzip the contents of the file above into it. Add c:\ruby\bin to the PATH system environment variable.
Download the zlib library from the following location. Unzip it and rename the zlib1.dll to zlib.dll and copy it into the Windows System folder (usually \windows\system32)
http://www.zlib.net/zlib123-dll.zip
Download rubygems 1.3.1 from the following location. Unzip it and run ruby setup.rb to install rubygems.
http://rubyforge.org/frs/download.php/45906/rubygems-1.3.1.zip
Create the RUBYOPT environment variable and set its value to "rubygems"
Download the iconv library zip file from the following location, unzip it and copy the iconv.dll file into the windows system folder.
ftp://ftp.gnupg.org/gcrypt/binary/libiconv-1.9.1.dll.zip
1 Reply
|
Log In to Reply |
4 Versions |
Log In to Copy |
Tell a Friend
|
Trackback URL: http://www.kalivo.com/trackback/1865-upgrading-ruby-1-8-7-patchlevel-72-and-gems
|
|
re: Upgrading Ruby (1.8.7 patchlevel 72) and Gems
by Mike Roeder on 2008-11-12 02:46 AM read 12 times |
Was there some security vulnerability on 1.8.7?
Log In to Reply | Log In to Copy | Tell a Friend |
Trackback URL: http://www.kalivo.com/trackback/1868-re-upgrading-ruby-1-8-7-patchlevel-72-and-gems
