Open bowsersenior opened 12 years ago
Indeed, that method has been removed. I made a mistake when I designed the ribbon API – general-purpose methods are often needed, and yet featureless ribbons were the default.
I refactored it, and released ribbon 0.8.0. Since I changed the public API, it is incompatible with acclaim 0.5.1, which is the most recent released version of acclaim. In your case, the error is raised on this line.
I've already updated the codebase to reflect the change, but these adaptations will only be included in version 0.6.0. Since these projects are still in the development phase, I haven't specified versions in their gem specifications, which is why you got an incompatible version of ribbon.
Thanks for reporting this, and I apologize for the inconvenience. Please use the older version of ribbon for now, or try using acclaim directly from the git repository. Next time something like this happens, I'll issue a minor release to fix the problem quickly, instead of letting commits pile up.
By the way, the README is outdated as well, it does not cover some new features. I plan on writing a new one from scratch before the new version is released. I haven't been able to work on acclaim in these past weeks because I'm taking driving lessons, but I'll probably get back on it soon.
That is very good info. Thanks for taking the time to explain in detail. I've started using acclaim on gauntlt and it is by far the best option parser I've seen.
Good luck on the driving lessons!
Hi, I ran into an issue with acclaim and ribbon 0.8.0. I get this error when I try to run the simple examples from the README:
I switched to ribbon version 0.7.0 and the error went away. I noticed that
Ribbon::Raw
replacedRibbon::Wrapper
in 0.8.0 so that looks like a potential cause. I couldn't find where wrap was being called in ribbon or acclaim though.Appreciate your help and thanks for your great work on acclaim and ribbon!
-Mani