@dkubb, I've done as you said and it seems to works.
1) wget http://github.com/datamapper/extlib/tarball/next 2) tar xzvf datamapper- extlib-7123204a61582469eea36fa08908999728163557.tar.gz 3) mv ~/.gems/gems/extlib-0.9.11/ ~/.gems/gems/ extlib-0.9.11.error 4) mv datamapper-extlib-7123204a61582469eea36fa08908999728163557 extlib-0.9.11/ Thank you Luca On Apr 24, 11:06 pm, "Dan Kubb (dkubb)" <[email protected]> wrote: > Try installing extlib/next and see if it fixes the problem. So far > one person with a similar problem has commented that it does, and if a > few more people can test it out I'll release a new extlib. > > The problem only occurs when using Extlib with ActiveSupport. They > both patch core classes, but Extlib didn't take into account another > class doing the same thing it was. This specific problem should be > fixed now tho. > > Dan' > > On Apr 22, 2:07 pm, lgs <[email protected]> wrote: > > > Hi, > > I'm trying to get sinatra (and DataMapper) like metal end point in > > rails 2.3.2 > > Doing that I get an extlib NameError : > > > [~/rails/lego]# ruby script/console > > Loading development environment (Rails 2.3.2) > > /home/useraxis/.gems/gems/actionpack-2.3.2/lib/action_controller/ > > vendor/rack-1.0/rack.rb:17: warning: already initialized constant > > VERSION > > /home/useraxis/.gems/gems/extlib-0.9.11/lib/extlib/time.rb:26:in > > `remove_method':NameError: method `to_time' not defined in Time > > > [email protected] [~/rails/lego]# rake middleware > > (in /home/useraxis/rails/lego) > > rake aborted! > > method `to_time' not defined in Time > > > Is that something you've already seen ? > > Thanks in advance > > luca --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
