erector / erector

A builder-like widget html generation framework.
http://erector.github.io/erector/
MIT License
227 stars 43 forks source link

Can't run tests on ruby 2.0 #54

Open zenspider opened 10 years ago

zenspider commented 10 years ago

I tried to take a whack at the circular require problem but I can't even get started.

10004 % bundle install
Using rake (10.1.0) 
Using abstract (1.0.0) 
Using activesupport (3.0.20) 
Using builder (2.1.2) 
Using i18n (0.5.2) 
Using activemodel (3.0.20) 
Using erubis (2.6.6) 
Using rack (1.2.8) 
Using rack-mount (0.6.14) 
Using rack-test (0.5.7) 
Using tzinfo (0.3.38) 
Using actionpack (3.0.20) 
Using mime-types (1.25.1) 
Using polyglot (0.3.3) 
Using treetop (1.4.15) 
Using mail (2.2.20) 
Using actionmailer (3.0.20) 
Using arel (2.0.10) 
Using activerecord (3.0.20) 
Using activeresource (3.0.20) 
Using addressable (2.3.5) 
Using diff-lcs (1.2.5) 
Using multipart-post (1.2.0) 
Using faraday (0.8.8) 
Using git (1.2.6) 
Using hashie (2.0.5) 
Using multi_json (1.8.2) 
Using nokogiri (1.5.10) 
Using httpauth (0.2.0) 
Using jwt (0.1.8) 
Using multi_xml (0.5.5) 
Using oauth2 (0.9.2) 
Using github_api (0.10.1) 
Using tilt (2.0.0) 
Using haml (4.0.4) 
Using highline (1.6.20) 
Using bundler (1.3.5) 
Using json (1.8.1) 
Using rdoc (3.12.2) 
Using jeweler (1.8.8) 
Using json_pure (1.8.1) 
Using predicated (0.2.6) 
Using thor (0.14.6) 
Using railties (3.0.20) 
Using rails (3.0.20) 
Using rr (1.1.2) 
Using rspec-core (2.14.7) 
Using rspec-expectations (2.14.4) 
Using rspec-mocks (2.14.4) 
Using rspec (2.14.1) 
Using sexp_processor (4.4.0) 
Using ruby_parser (3.2.2) 
Using ruby2ruby (2.0.6) 
Using rubyforge (2.0.4) 
Using sass (3.2.12) 
Using wrong (0.7.1) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
10005 % rake
RUBY_VERSION=2.0.0
Releasing gems to Rubyforge is deprecated. See details at http://wiki.github.com/technicalpickles/jeweler/migrating-from-releasing-gems-to-rubyforge
BUNDLE_GEMFILE='/Users/ryan/Work/git/erector/Gemfile-rails' bundle exec rake spec:core spec:erect spec:integration_rails3
Could not find rake-10.0.1 in any of the sources
Run `bundle install` to install missing gems.
rake aborted!

This project needs some love for contributors to be able to contribute. I'm not the one to give it.

ajb commented 10 years ago

hey @zenspider, check out my fork at https://github.com/adamjacobbecker/erector-rails4. I have an email in to Alex to see what we can do re: continuing support of this project.

alexch commented 10 years ago

I got the tests to run under Ruby 2. I'll be checking @adamjacobbecker 's fork soon but current master works for me. A few rounds of "bundle install" may be required but I added some pre-checks to the rake tasks to minimize that.

Please try it and let me know if it works so I can close this issue.