You are not logged in.
@V01D: Thanks ;-)
@Allan: Finally, Ruby 1.9. Thanks!
Last edited by stuntgp2000 (2009-09-23 22:40:19)
ArchLinux all the way
Offline
Hi everybody,
I was giving ruby a shot when the upgrade came out and blew everything I made :s
I tried to use the patch from
https://rails.lighthouseapp.com/project … ng-ror-234
but with no success it keeps telling me:
patching file message_verifier.rb
Hunk #1 FAILED at 38.
1 out of 1 hunk FAILED -- saving rejects to file message_verifier.rb.rej
Could someone who succeded help me please?
Offline
There is a ruby application that I love (community/raggle) and it no longer works with the upgraded ruby. It hasn't been updated since 2005, though, so I don't think the developer is going to update it for the new ruby. (as far as I can tell)
Is it going to be updated/rebuilt in the repos, or do I need to do that myself? I'm not exactly sure how to do that.
First of all, sorry for reviving an old thread, but this issue is easily fixed. There was a change of syntax in 1.9 of something that Raggle uses consistently.
if foo: bar
case foo
when bar: baz
end
Has to be changed to
if foo then bar
case foo
when bar then baz
end
It's a dirty hack but at least raggle works again.
Offline
Hi,
FYI, you can use:
case foo
when bar; baz
end
Last edited by V01D (2009-11-14 15:57:09)
Offline