an *elevated* command prompt). Then just running
>> “cucumber” will run against IronRuby.
>>
>>
>>
>> ~Jimmy
>>
>>
>>
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Eddie Cianci
[email protected] [mailto:
> [email protected]] *On Behalf Of *Eddie Cianci
> *Sent:* Wednesday, June 23, 2010 12:39 PM
> *To:* [email protected]
> *Subject:* Re: [Ironruby-core] Cucumber with IronRuby V 1.0
>
>
>
> Hi Mohammad --
>
>
&g
” (from an *elevated* command prompt). Then just running “cucumber”
> will run against IronRuby.
>
>
>
> ~Jimmy
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Eddie Cianci
> *Sent:* Wednesday, June 23, 2010
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Jimmy Schementi
>> *Sent:* Wednesday, June 23, 2010 1:28 PM
>>
>> *To:* [email protected]
>> *Subject:* Re: [Ironruby-core] Cucumber with I
byforge.org [mailto:
> [email protected]] *On Behalf Of *Jimmy Schementi
> *Sent:* Wednesday, June 23, 2010 1:28 PM
>
> *To:* [email protected]
> *Subject:* Re: [Ironruby-core] Cucumber with IronRuby V 1.0
>
>
>
> No, actually, he is using IronRub
[email protected]] On Behalf Of Jimmy Schementi
Sent: Wednesday, June 23, 2010 1:28 PM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby V 1.0
No, actually, he is using IronRuby, but setting the GEM_PATH to his Ruby
implementation, which is those stack traces come
“cucumber” will run
against IronRuby.
~Jimmy
From: [email protected]
[mailto:[email protected]] On Behalf Of Eddie Cianci
Sent: Wednesday, June 23, 2010 12:39 PM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby V 1.0
Hi Mohammad
That might be the thing!!
What does that -S stands for and where is it documented? Do I still need to
make the icucumber.bat I guess not?
On Wed, Jun 23, 2010 at 2:39 PM, Eddie Cianci wrote:
> Hi Mohammad --
>
> That looks like your Ruby not IronRuby ... Try running:
>
> ir -S cucumber
>
>
>
>
Hi Mohammad --
That looks like your Ruby not IronRuby ... Try running:
ir -S cucumber
On Wed, Jun 23, 2010 at 3:27 PM, Mohammad Azam wrote:
> I downloaded and install Cucumber 0.6.4. I deleted the Cucumber 0.8.3
> folder but now when I run the following command.
>
> c: cucumber
>
> I get the
I downloaded and install Cucumber 0.6.4. I deleted the Cucumber 0.8.3 folder
but now when I run the following command.
c: cucumber
I get the following error:
no such file to load --
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.8.3/bin/cucumber
On Wed, Jun 23, 2010 at 2:05 PM, Will Green wrote:
There is an issue with the Gherkin parser used by Cucumber.
Downgrade to Cucumber 0.6.4, which does not use the Ragel-generated (native
code) parser. It is slower, but it works.
http://github.com/aslakhellesoy/gherkin/issues/issue/63
--
Will Green
http://hotgazpacho.org/
On Wed, Jun 23, 2010 a
What are the steps of running Cucumber with IronRuby? Do I need to make a
separate batch file called ICucumber.bat and then invoke it. Here is my
ICucumber.bat file:
@ECHO OFF
REM This is to tell IronRuby where to find gems.
SET
MONO_PATH=C:/IronRuby/lib/ironruby/gems/1.8/gems/gherkin-2.0.2-univer
[email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 11:11 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
I cannot believe it that was the problem. I deleted the addition.rb file and it
It loads all of them by default
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 11:09 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
I cannot believe it that was the problem. I deleted the addition.rb file
and it started working. Lesson learned!! Cucumber will execute
everything inside the step_definations.
Jim Deville wrote:
> Heh, that's why I said send it to me offline. Anyways, addition.rb is
> pure ruby, you can't have
But I am trying to execute prime_steps.rb. Does it execute all of them
by default or something??
Jim Deville wrote:
> Heh, that's why I said send it to me offline. Anyways, addition.rb is
> pure ruby, you can't have the last three lines of the file as is.
>
> JD
--
Posted via http://www.ruby
nt: Monday, March 01, 2010 10:37 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
Seems like the forums file attach limit is less then 1.5 MB (Are we
living in the 80's? :)
Anyway, here is the url:
http://www.highoncoding.com/articledownloads/IronRubyCons
Seems like the forums file attach limit is less then 1.5 MB (Are we
living in the 80's? :)
Anyway, here is the url:
http://www.highoncoding.com/articledownloads/IronRubyConsoleApp.zip
Jim Deville wrote:
> Ok. We're missing something here. Let's take this offline. Email me
> personally, with a
I got the following after running it using the -b option:
C:\Projects\ILoveIronRuby\ILoveIronRuby\IronRubyConsoleApp>icucumber -b
features
/prime.feature
*** WARNING: You must "igem install iron-term-ansicolor" to get coloured
ouput i
n on IronRuby
syntax error, unexpected IDENTIFIER, expecting
e-
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Mohammad Azam
> Sent: Monday, March 01, 2010 9:56 AM
> To: [email protected]
> Subject: Re: [Ironruby-core] Cucumber with IronRuby
>
> Here is the updated:
>
>
01, 2010 9:56 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
Here is the updated:
@ECHO OFF
REM This is to tell IronRuby where to find gems.
SET GEM_PATH=c:\ruby\lib\ruby\gems\1.8
C:\DevTools\ironruby-1.0-rc1\bin\ir.exe -d c:\ruby\bin\cucumber %*
still
Here is the updated:
@ECHO OFF
REM This is to tell IronRuby where to find gems.
SET GEM_PATH=c:\ruby\lib\ruby\gems\1.8
C:\DevTools\ironruby-1.0-rc1\bin\ir.exe -d c:\ruby\bin\cucumber %*
still giving the same error and took 20 seconds to execute icucumber
command.
Jim Deville wrote:
> Get rid o
[email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 9:36 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
Just modified the icucumber.bat to this:
@ECHO OFF
REM This is to tell IronRub
Just modified the icucumber.bat to this:
@ECHO OFF
REM This is to tell IronRuby where to find gems.
SET GEM_PATH=c:\ruby\lib\ruby\gems\1.8
@"C:\DevTools\ironruby-1.0-rc1\bin\ir.exe -d" "c:\ruby\bin
\cucumber" %*
Now ran the icucumber and got the following:
C:\Projects\ILoveIronRuby\ILoveIronR
before.
JD
JD
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 9:20 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
When I type ir -d on
I can perform the update but I am afraid that it will break my previous
code and I cannot take that risk right now. Is there anyway to solve the
issue on RC1?
Thanks,
Azam
Jim Deville wrote:
> That's why rc2 was FIRST. -S is an option added in rc2. If you want to
> support our project, we woul
When I type ir -d on the command prompt it takes me to the ironruby
interactive console?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core
: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
I installed the icucumber again using the following command:
igem install cucumber
the install went fine. then i said
icucumber on the command prompt and I got the following:
C:\Projects\ILoveIronRuby\ILoveIronRuby
yforge.org
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 7:48 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with IronRuby
The ir-S gem install cucumber did not work:
C:\Projects\ILoveIronRuby\ILoveIronRuby\IronRuby
Here is prime.feature:
Feature: Prime Number Detection
I need to find if a number is prime or not
Scenario Outline: Prime Number Testing
Given I have a
When I pass the number to a IsPrime method
Then I should get indication prime or not
Examples:
| number | result |
| 1 | true |
|
What does prime.feature look like then?
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 8:11 AM
To: [email protected]
Subject: Re: [Ironruby-core] Cucumber with
Try to run icucumber with the --no-color switch.
Shay Friedman | .NET Technologies Expert | Author of IronRuby Unleashed |
Sela Technology Center
Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay
On Mon, Mar 1, 2010 at 5:56
My feature file is called prime.feature and now I added a new test
file called "prime_steps" (I thought maybe the name has to be same).
After running the icucumber features/prime.feature I still get the same
error. The strange thing is that I don'nt have any code in the test
file. It is totally bla
The ir-S gem install cucumber did not work:
C:\Projects\ILoveIronRuby\ILoveIronRuby\IronRubyConsoleApp>ir -S gem
install cuc
umber ironterm-ansicolor
Option `-S' not supported
>> First of all upgrade to ironruby rc2.
Maybe later! I am afraid it will going to mess things up for me.
Ivan Porto
I installed the icucumber again using the following command:
igem install cucumber
the install went fine. then i said
icucumber on the command prompt and I got the following:
C:\Projects\ILoveIronRuby\ILoveIronRuby\IronRubyConsoleApp>icucumber
*** WARNING: You must "igem install iron-term-ansi
Thanks for the reply! My test file called "primeservice.rb" is placed
inside the step_definations folder which is inside the feature folder.
Like this:
features/step_definations/primeservice.rb
The primeservice.rb looks something like this:
require 'rubygems'
require 'spec/expectations'
requ
First of all upgrade to ironruby rc2.
Also I thought we had a very long discussion on mixing gems installed in a
different ruby. Let's not repeat that one and keep it at don't mix gem
installs.
then try this:
ir -S gem install cucumber ironterm-ansicolor
ir -S cucumber features/prime.feature
---
e cucumber files.
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 7:09 AM
To: [email protected]
Subject: [Ironruby-core] Cucumber with IronRuby
I don't know why
I don't know why I keep getting the following exception when I try to
run cucumber with Ironruby.
C:\Projects\ILoveIronRuby\ILoveIronRuby\IronRubyConsoleApp>icucumber
features/pr
ime.feature --no-color
syntax error, unexpected IDENTIFIER, expecting '{', or DO, or '('
(SyntaxError)
:0:in `require'
39 matches
Mail list logo