Hello,
I have a rails app created on rails 3.1.x and ruby 1.9.2, but server
where it should be deployed runs ruby-1.8
Ruby-1.9 implements new style of hash assigment that Rails 3 utilize
in some places - and thats the problem, bcos Ruby 1.8 does not support
it…
Now, what to do? My server admin won’t upgrade to ruby 1.9 until its
in Fedora stable repository…
Hello,
I have a rails app created on rails 3.1.x and ruby 1.9.2, but server
where it should be deployed runs ruby-1.8
Ruby-1.9 implements new style of hash assigment that Rails 3 utilize
in some places - and thats the problem, bcos Ruby 1.8 does not support
it…
Now, what to do? My server admin won’t upgrade to ruby 1.9 until its
in Fedora stable repository…
For a new app, there is an option
[--old-style-hash] # Force using old style hash (:foo =>
Now, what to do? My server admin won’t upgrade to ruby 1.9 until its
in Fedora stable repository…
For a new app, there is an option
[–old-style-hash] # Force using old style hash (:foo =>
‘bar’) on Ruby >= 1.9
Yes, but its kinda too late for that :))
I don’t know what that does, but since it does not change any of your
code, or change rails itself I guess it must be something in the
environment files or the scripts. It might be worth building new
empty apps, with and without the flag, and see what the difference is.
Unless someone knows the difference, or can work it out.
Colin
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.