I'm not sure this will work (completely) The code in the replacement of acvtiverecord_base_tag_extensions.rb has quite different code with different function names, so I think other parts of tracks will not work anymore (unless you are not using tags at all...)
Reinier > -----Oorspronkelijk bericht----- > Van: [email protected] [mailto:tracks- > [email protected]] Namens Orlando Richards > Verzonden: vrijdag 9 januari 2009 9:29 > Aan: Tim Madden > CC: track-discuss > Onderwerp: Re: [Tracks-discuss] Issue with db:migrate on ubuntu 8.10 > > I hate to say it - but I did a very nasty bodge when this happened to > me. I was using the git version of the tracks source, and I just copied > in lib/activerecord_base_tag_extensions.rb from the packaged 1.7rc :-O > > > > Tim Madden wrote: > > are you reusing an environment.rb file from a prior release? if so, > > this may cause a problem. recreate your environment.rb from the > > environment.rb.tmpl file. > > > > On Thu, Jan 8, 2009 at 9:20 PM, Stephen Boulet > <[email protected] > > <mailto:[email protected]>> wrote: > > > > Hello all. I pulled down 1.7 from git, and I'm having trouble > > migrating the database. I'm using Ubuntu 8.10 (ruby 1.8.7): > > > > step...@mahler:/var/www/tracks$ sudo rake --trace db:migrate > > RAILS_ENV=production > > (in /var/www/tracks) > > > > ** Invoke db:migrate (first_time) > > ** Invoke environment (first_time) > > ** Execute environment > > rake aborted! > > no such file to load -- activerecord_base_tag_extensions > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require' > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require' > > > /var/www/tracks/vendor/rails/activesupport/lib/active_support/dependenc > ies.rb:155:in > > `require' > > /var/www/tracks/config/environment.rb:83 > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require' > > /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require' > > > /var/www/tracks/vendor/rails/activesupport/lib/active_support/dependenc > ies.rb:153:in > > `require' > > > /var/www/tracks/vendor/rails/activesupport/lib/active_support/dependenc > ies.rb:521:in > > `new_constants_in' > > > /var/www/tracks/vendor/rails/activesupport/lib/active_support/dependenc > ies.rb:153:in > > `require' > > /var/www/tracks/vendor/rails/railties/lib/tasks/misc.rake:3 > > /usr/lib/ruby/1.8/rake.rb:546:in `call' > > /usr/lib/ruby/1.8/rake.rb:546:in `execute' > > /usr/lib/ruby/1.8/rake.rb:541:in `each' > > /usr/lib/ruby/1.8/rake.rb:541:in `execute' > > /usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:501:in `synchronize' > > /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:518:in `invoke_prerequisites' > > /usr/lib/ruby/1.8/rake.rb:1183:in `each' > > /usr/lib/ruby/1.8/rake.rb:1183:in `send' > > /usr/lib/ruby/1.8/rake.rb:1183:in `each' > > /usr/lib/ruby/1.8/rake.rb:515:in `invoke_prerequisites' > > /usr/lib/ruby/1.8/rake.rb:507:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:501:in `synchronize' > > /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain' > > /usr/lib/ruby/1.8/rake.rb:494:in `invoke' > > /usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task' > > /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' > > /usr/lib/ruby/1.8/rake.rb:1909:in `each' > > /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' > > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > > /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' > > /usr/lib/ruby/1.8/rake.rb:1881:in `run' > > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > > /usr/lib/ruby/1.8/rake.rb:1878:in `run' > > /usr/bin/rake:28 > > > > I have the following Ubuntu packages installed: > > > > libactiverecord-ruby > > libactiverecord-ruby1.8 > > libactivesupport-ruby > > libactivesupport-ruby1.8 > > libbuilder-ruby1.8 > > libfcgi-ruby1.8 > > libmysql-ruby > > libmysql-ruby1.8 > > libopenssl-ruby > > libopenssl-ruby1.8 > > libreadline-ruby1.8 > > libruby > > libruby1.8 > > libxml-simple-ruby > > libyaml-ruby > > libzlib-ruby > > ruby > > ruby1.8 > > ruby1.8-dev > > rubygems > > rubygems1.8 > > > > Any idea what's going on? Thanks. > > > > Stephen > > _______________________________________________ > > Tracks-discuss mailing list > > [email protected] > > <mailto:[email protected]> > > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss > > > > > > > > --------------------------------------------------------------------- > --- > > > > _______________________________________________ > > Tracks-discuss mailing list > > [email protected] > > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss > > > -- > -- > Dr Orlando Richards > Information Services > IT Infrastructure Division > Unix Section > Tel: 0131 650 4994 > > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > _______________________________________________ > Tracks-discuss mailing list > [email protected] > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
