This project is archived and is in readonly mode.

#3615 ✓invalid
blythe

arel load errors running active_record tests

Reported by blythe | December 25th, 2009 @ 05:17 AM

Cannot run activerecord tests on rails 3.0 without arel gem installed. Perhaps more consistent to add it to the load_path where required in active_record.rb?

Running rake install mostly works but the gemspec is somewhat between 0.3.pre and 0.2.pre.


/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
gem_original_require': no such file to load -- arel (LoadError)

from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from ./lib/active_record.rb:33
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from ./test/cases/helper.rb:15
from ./test/cases/active_schema_test_postgresql.rb:1:in `require'
from ./test/cases/active_schema_test_postgresql.rb:1
from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `load'
from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5

Errors running test_postgresql

Comments and changes to this ticket

  • David Trasbo

    David Trasbo June 13th, 2010 @ 07:55 PM

    • Assigned user set to “Ryan Bigg”

    This patch seems to assume arel is in the root directory of the Rails repository, but it's not. Also, arel can easily be installed with bundle install - it'll fetch head directly from the Git repository.

    This ticket can be closed.

  • Ryan Bigg

    Ryan Bigg June 14th, 2010 @ 12:54 AM

    • State changed from “new” to “invalid”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages