Rails code does not run under ruby 1.9 #3981
Comments
Author: TomH You appear to be using ruby 1.9 which is completely untested. Our code is written for, and runs on, ruby 1.8 based systems, and there are probably a number of changes that will needed for 1.9 support. |
Author: bithive I have committed a fix for this problem to my github fork: https://github.com/bithive/openstreetmap-website/commit/03991a45d93ed8a9e9430a940f3d55f6371433b7 There are other changes required for 1.9, look at the subsequent commits to the above fork. |
Author: TomH It's unlikely that we will try and support running on 1.9 until such time as I am in a position to easily test on it, which basically means when either Fedora or Ubuntu LTS has it. |
Author: ppawel[at]fastmail.fm Works for me with ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]. Can be closed? |
Author: TomH Yes I believe this is likely fine now as I have been running 1.9 on my development machine for some months now without encountering any further problems. |
Author: jfire Same here. Is the production server still on 1.8? If so, we should consider updating, as 1.9 is significantly faster. |
Author: TomH Yes, because 1.8 is still what comes with Ubuntu. |
Author: TomH That said, we are actually using the ruby from http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu now, which actually has both, so we could switch if we didn't mind committing to not being able to go back to the standard Ubuntu build. I'd need to work out to do it non-disruptively though... |
Reporter: Zverik
[Submitted to the original trac issue database at 2.58am, Friday, 26th August 2011]
The following error occurs when doing rake db:migrate:
The text was updated successfully, but these errors were encountered: