Kristian, What problems do you have with the LogSubscriber on jruby? rails changed from Subscriber to LogSubscriber after the beta, and I remember people having problems when still using a Gemfile that used the rails-3.0.0.beta gem. Rails master (and also 3.0.0.beta1) should both work with LogSubscriber, unless it's some jruby specific issue that I'm not aware of. Damnit, I should finally setup a jruby env too ...
cheers snusnu On Fri, Mar 12, 2010 at 19:33, kristian <[email protected]> wrote: > OK, I got it running but it is kind of a far way to go. yesterday > things behaved very different from what it does after cleaning all > possible gems, bundles etc - kind of annoying or difficult to handle > if the project itself depends soo much on the outer system. and this > makes it really nasty to reduce the problem to simple failing testcase > to submit bugs - I have given up on this now, BUT I might be able to > help you getting rails running with jruby: > > add into your Gemfile > gem 'rack-mount', '0.4.7' > > and comment out in your (this big hash is different on your machine) > $HOME/.bundle/jruby/1.8/bundler/gems/dm- > rails-6d789ab541218bf52f1038ecd3856026704f4c3b-master/lib/dm-rails/ > railtie.rb > the following line concerning the log_subscriber > #require "dm-rails/railties/log_subscriber" > # log_subscriber ::DataMapper::Railties::LogSubscriber.new > > that should you get running - without log subscribers. > > regards Kristian > > On Mar 12, 4:44 pm, jmcervera <[email protected]> wrote: >> I still have troubles trying to generate a sample app with a template >> provided from the dm_rails site in github. >> This is the trace of the errorhttp://gist.github.com/330245 >> >> Do I need to use rails gems from the edge branch in github? >> >> Juanma > > -- > 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. > > -- 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.
