Problems with MacRuby 0.10 and rspec 2.6.4 under rvm
Hi all, I'm trying to use MacRuby with rspec, but it ain't working. I thought I read somewhere that it *should*. Is anyone else having problems, or is it an artifact of using rvm? Should I file a bug? Thanks, -- Ernie P. selfserve:frame prabhaka$ rvm current macruby-0.10 selfserve:tmp prabhaka$ cat > foo_spec.rspec describe "foo" do it {1.should == 1} end selfserve:tmp prabhaka$ rspec foo_spec.rspec /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:14:in `empty_without_conditional_filters?': undefined method `empty?' for #<Enumerator:0x40081dfe0> (NoMethodError) from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:131:in `announce_exclusion_filter:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:103:in `announce_filters' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:19:in `run:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block' selfserve:tmp prabhaka$ gem list --local *** LOCAL GEMS *** bundler (1.0.12) diff-lcs (1.1.2) git (1.2.5) jeweler (1.6.4) rake (0.9.2) rspec (2.6.0) rspec-core (2.6.4) rspec-expectations (2.6.0) rspec-mocks (2.6.0)
Hi Ernie, IIRC, this has come up recently (in the last few months), and we found that there was a change in rspec 2.6 that does not work with MacRuby 0.10, but rspec 2.5 still does. Though, I tried your example with the latest nightly build of MacRuby and used rspec 2.6 and had no issues. HTH, Mark On 2011-10-07, at 4:08 PM, Ernest N. Prabhakar, Ph.D. wrote:
Hi all,
I'm trying to use MacRuby with rspec, but it ain't working. I thought I read somewhere that it *should*. Is anyone else having problems, or is it an artifact of using rvm? Should I file a bug?
Thanks, -- Ernie P.
selfserve:frame prabhaka$ rvm current macruby-0.10
selfserve:tmp prabhaka$ cat > foo_spec.rspec describe "foo" do it {1.should == 1} end
selfserve:tmp prabhaka$ rspec foo_spec.rspec /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:14:in `empty_without_conditional_filters?': undefined method `empty?' for #<Enumerator:0x40081dfe0> (NoMethodError) from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:131:in `announce_exclusion_filter:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:103:in `announce_filters' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:19:in `run:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block'
selfserve:tmp prabhaka$ gem list --local
*** LOCAL GEMS ***
bundler (1.0.12) diff-lcs (1.1.2) git (1.2.5) jeweler (1.6.4) rake (0.9.2) rspec (2.6.0) rspec-core (2.6.4) rspec-expectations (2.6.0) rspec-mocks (2.6.0)
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Time for a 0.11 release! ;) - Matt On Fri, Oct 7, 2011 at 9:24 PM, Mark Rada <mrada@marketcircle.com> wrote:
Hi Ernie,
IIRC, this has come up recently (in the last few months), and we found that there was a change in rspec 2.6 that does not work with MacRuby 0.10, but rspec 2.5 still does.
Though, I tried your example with the latest nightly build of MacRuby and used rspec 2.6 and had no issues.
HTH, Mark
On 2011-10-07, at 4:08 PM, Ernest N. Prabhakar, Ph.D. wrote:
Hi all,
I'm trying to use MacRuby with rspec, but it ain't working. I thought I read somewhere that it *should*. Is anyone else having problems, or is it an artifact of using rvm? Should I file a bug?
Thanks, -- Ernie P.
selfserve:frame prabhaka$ rvm current macruby-0.10
selfserve:tmp prabhaka$ cat > foo_spec.rspec describe "foo" do it {1.should == 1} end
selfserve:tmp prabhaka$ rspec foo_spec.rspec
/Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:14:in `empty_without_conditional_filters?': undefined method `empty?' for #<Enumerator:0x40081dfe0> (NoMethodError)
from
/Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:131:in `announce_exclusion_filter:'
from
/Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:103:in `announce_filters'
from
/Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:19:in `run:'
from
/Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process:'
from
/Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run:'
from
/Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block'
selfserve:tmp prabhaka$ gem list --local
*** LOCAL GEMS ***
bundler (1.0.12) diff-lcs (1.1.2) git (1.2.5) jeweler (1.6.4) rake (0.9.2) rspec (2.6.0) rspec-core (2.6.4) rspec-expectations (2.6.0) rspec-mocks (2.6.0)
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Ah, thanks. I've downgraded rspec to 2.5.0. I look forward to seeing MacRuby 0.11 soon! E On Oct 7, 2011, at 2:27 PM, Matt Aimonetti wrote:
Time for a 0.11 release! ;)
- Matt
On Fri, Oct 7, 2011 at 9:24 PM, Mark Rada <mrada@marketcircle.com> wrote: Hi Ernie,
IIRC, this has come up recently (in the last few months), and we found that there was a change in rspec 2.6 that does not work with MacRuby 0.10, but rspec 2.5 still does.
Though, I tried your example with the latest nightly build of MacRuby and used rspec 2.6 and had no issues.
HTH, Mark
On 2011-10-07, at 4:08 PM, Ernest N. Prabhakar, Ph.D. wrote:
Hi all,
I'm trying to use MacRuby with rspec, but it ain't working. I thought I read somewhere that it *should*. Is anyone else having problems, or is it an artifact of using rvm? Should I file a bug?
Thanks, -- Ernie P.
selfserve:frame prabhaka$ rvm current macruby-0.10
selfserve:tmp prabhaka$ cat > foo_spec.rspec describe "foo" do it {1.should == 1} end
selfserve:tmp prabhaka$ rspec foo_spec.rspec /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:14:in `empty_without_conditional_filters?': undefined method `empty?' for #<Enumerator:0x40081dfe0> (NoMethodError) from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:131:in `announce_exclusion_filter:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/world.rb:103:in `announce_filters' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:19:in `run:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run:' from /Volumes/Slave/Users/prabhaka/.rvm/gems/macruby-0.10/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `block'
selfserve:tmp prabhaka$ gem list --local
*** LOCAL GEMS ***
bundler (1.0.12) diff-lcs (1.1.2) git (1.2.5) jeweler (1.6.4) rake (0.9.2) rspec (2.6.0) rspec-core (2.6.4) rspec-expectations (2.6.0) rspec-mocks (2.6.0)
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Ernest N. Prabhakar, Ph.D.
-
Mark Rada
-
Matt Aimonetti