Project

General

Profile

Actions

Bug #1590

closed

uninitialized constant PLATFORM with Ruby 1.9

Added by Chuck Dand about 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When running bin/smart-proxy on a host running Ruby 1.9.3p125 I get the following:

  1. bin/smart-proxy
    /var/rails/smart-proxy/lib/sinatra-patch.rb:4:in `<top (required)>': uninitialized constant PLATFORM (NameError)
    from /usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/local/rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from bin/smart-proxy:8:in `<main>'

It would appear this constant has been renamed to RUBY_PLATFORM.

Host: Linux debian 2.6.32-5-xen-amd64 #1 SMP Thu Mar 22 21:14:26 UTC 2012 x86_64 GNU/Linux
Linux: Debian 6.0
Ruby: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]
smart-host from git: Branch=develop commit=commit 083405c80fe0b872b1e159abb9c2f098d3716d09


Files

Actions

Also available in: Atom PDF