I'd like to make a contribution to the rails project, but am stumbling at the first hurdle... I've cloned the rails repository and am getting an error when trying to run the unit tests.
$ bundle exec rake test
...
/home/me/.rvm/rubies/ruby-1.9.3-preview1/lib/ruby/1.9.1/minitest/spec.rb:131:in `register_spec_type': wrong number of arguments (1 for 2) (ArgumentError)
I'm using:
Just to double check:
$ ruby -v
ruby 1.9.3dev (2011-07-31 revision 32789) [i686-linux]
I've read and did not find any info in http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html
Have also completely reinstalled rvm, recompiled ruby, and replaced all gems multiple times.
The master branch of Rails is now the beta version for 4.0.0 and removes support for Ruby 1.8.7. I don't know exactly why it doesn't work with Ruby 1.9.3 preview, but I would recommend always running with the latest stable version of Ruby. Another option is to try running the tests in Ruby 1.9.2 and see if you get any errors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With