Re: [jruby-user] Re: Error 'uninitialized constant Arel::Visitors::SQLite' with rails
Christian MICHON <[email protected]>
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CACx2yF-pF1Ne20K1QqzSJ7kUy-OhPqS34D-nyOTjcbWp3Wr=AQ@mail.gmail.com> |
I cannot foretell if rails 3 will work or not. Your code will need a lot of rework. Maybe the application is small and you can cope with the upgrade. But it is usually a good idea to freeze your gems to a specific version in time to ensure stability. I stopped using rails 2 years ago. It was not a good match for my apps and i preferred sequel to activerecord, and sinatra to rails. Maybe the breakage is in the database adaptor rather than in the rails version. Rails 2 did not know about bundler so your project does not have a Gemfile, right? What does happen if you replace sqlite by h2? H2 is a java database, usable in embedded or network mode. Please google for an adaptor. I'll try to build a small test case later today to debug this as well. Good luck. On Sep 8, 2014 5:19 AM, "David Bennett" <[email protected]> wrote: > If you like to put it that way. I all actually did was upgrade Netbeans > to 7.4 a while back and then more recently tried to get this old project > working. The JRuby is what came with Netbeans. The jdbc was just the > default gem. > > Unless there is a compelling reason, I would prefer to move forward than > backward. Is it likely that (say) Rails 3.x would work? I'd rather fix > problems moving the project forwards than this kind of wrestling with > outdated incompatible versions. > > -- > Posted via http://www.ruby-forum.com/. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >