Thank you Jimmy. That's work!
> gem uninstall mspec
> del c:\ruby\bin\mspec*
Bests,
-Jirapong
On Apr 30, 2009, at 2:29 AM, Jimmy Schementi wrote:
It's because the "mspec" command you're running lives in your C:\ruby
\bin directory, not C:\...\ironruby\Merlin\External.LCA_RESTRICTED
\Languages\IronRuby\mspec\mspec\bin. Running "where mspec" should
show something like this:
C:\dev\jschementi-ironruby\Merlin\Main\Languages\Ruby>where mspec
C:\dev\jschementi-ironruby\Merlin\External.LCA_RESTRICTED\Languages
\IronRuby\mspec\mspec\bin\mspec
C:\dev\jschementi-ironruby\Merlin\External.LCA_RESTRICTED\Languages
\IronRuby\mspec\mspec\bin\mspec.bat
If you don't really need the mspec gem installed, removing that
would probably remedy this.
-----Original Message-----
From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-
boun...@rubyforge.org] On Behalf Of jirapong.na...@gmail.com
Sent: Wednesday, April 29, 2009 12:23 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] mspec error undefined method `filtered'
for MSpecScript:Class
Thank you, I did run the dev.bat but still get same error. I'm
investigating why it load from gems rather than what get in .mspecrc
file.
Bests,
- Jirapong
On Apr 30, 2009, at 1:58 AM, Jimmy Schementi wrote:
Sounds like you're not running Dev.bat. Before doing anything with
IronRuby (when you get it from the git repo), please run Merlin/
Main/
Languages/Ruby/Scripts/Dev.bat. That will make sure things are all
set up properly. To make this easy, just create a ironruby.bat file
somewhere which calls Dev.bat. I even add that as the first shortcut
in my quicklaunch toolbar so WIN+1 will launch a dev.bat cmd.exe
window.
~js
-----Original Message-----
From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-
boun...@rubyforge.org] On Behalf Of Jim Deville
Sent: Wednesday, April 29, 2009 11:53 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] mspec error undefined method
`filtered'
for MSpecScript:Class
The gem won't work for now. Make sure that the mspec that runs is
the
Mspec in Merlin/External.LCA_RESTRICTED.
JD
-----Original Message-----
From: jirapong.na...@gmail.com <jirapong.na...@gmail.com>
Sent: April 29, 2009 11:12 AM
To: ironruby-core@rubyforge.org <ironruby-core@rubyforge.org>
Subject: [Ironruby-core] mspec error undefined method `filtered'
for
MSpecScript:Class
Have any one got this error? and to fix it :-)
c:\ironruby\Merlin\External.LCA_RESTRICTED\Languages\IronRuby\mspec
\default.mspec:12: undefined method `filtered' for
MSpecScript:Class
(NoMethodError)
from C://Documents and Settings/Administrator/.mspecrc:15:in
`load'
from C://Documents and Settings/Administrator/.mspecrc:15
from c:/ruby/lib/ruby/gems/1.8/gems/mspec-1.5.11/lib/mspec/
utils/script.rb:72:in `load'
from c:/ruby/lib/ruby/gems/1.8/gems/mspec-1.5.11/lib/mspec/
utils/script.rb:72:in `load'
from c:/ruby/lib/ruby/gems/1.8/gems/mspec-1.5.11/lib/mspec/
utils/script.rb:71:in `each'
from c:/ruby/lib/ruby/gems/1.8/gems/mspec-1.5.11/lib/mspec/
utils/script.rb:71:in `load'
from c:/ruby/lib/ruby/gems/1.8/gems/mspec-1.5.11/lib/mspec/
utils/script.rb:213:in `main'
from c:/ruby/lib/ruby/gems/1.8/gems/mspec-1.5.11/bin/mspec:7
from c:/ruby/bin/mspec:16:in `load'
from c:/ruby/bin/mspec:16
Thanks in advance.
-Jirapong
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core