Hi,
I know that I cannot use WatiR because of its C implementation but what
other tools (gems) are available which can be used for acceptance testing
(browser, winforms, wpf) applications.
Has anyone successfully integrated any of the gems with IronRuby?
Links or resources!
--
Mohammad Azam
>> *Sent:* Wednesday, June 23, 2010 12:39 PM
>>
>> *To:* ironruby-core@rubyforge.org
>> *Subject:* Re: [Ironruby-core] Cucumber with IronRuby V 1.0
>>
>>
>>
>> Hi Mohammad --
>>
>>
>>
>> That looks like your Ruby not IronRuby ...
t;
> 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
Weird! I download the treetop gem and it started working again. Maybe it has
something to do with my BLUE screen of death on Windows 7.
On Wed, Jun 23, 2010 at 7:53 PM, Mohammad Azam wrote:
> I swear I got it running at work but I got home booted my computer and ran
> the following:
>
y-core@rubyforge.org
> *Subject:* Re: [Ironruby-core] Cucumber with IronRuby V 1.0
>
>
>
> Hi Mohammad --
>
>
>
> That looks like your Ruby not IronRuby ... Try running:
>
>
>
> ir -S cucumber
>
>
>
>
>
>
>
> On Wed, Jun 23, 2010 at 3:27
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 following erro
en
> http://hotgazpacho.org/
>
>
> On Wed, Jun 23, 2010 at 2:04 PM, Mohammad Azam wrote:
>
>> 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:
>&g
-universal-dotnet/lib
SET GEM_PATH=c:\ruby\lib\ruby\gems\1.8
@"C:\IronRuby\bin\ir.exe" "c:\ruby\bin\cucumber" %*
Any ideas?
--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com
www.azamsharp.com
___
Ironruby-core m
Ivan Porto Carrero wrote:
> instead of requiring the files with path. maybe try to set the load path
>
> $:.unshift( File.dirname(__FILE__) + "/bin/Debug")
> require 'BusinessObjects.dll'
> require 'WatiN.Core.dll'
> require 'Microsoft.mshtml.dll'
> require 'Interop.SHDocVw.dll'
>
> I also think
Ivan Porto Carrero wrote:
> instead of requiring the files with path. maybe try to set the load path
>
> $:.unshift( File.dirname(__FILE__) + "/bin/Debug")
> require 'BusinessObjects.dll'
> require 'WatiN.Core.dll'
> require 'Microsoft.mshtml.dll'
> require 'Interop.SHDocVw.dll'
>
> I also think
Actually facing the same problem on VS 2008.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
I created a new project in Visual Studio 2008 and tried running the same
code and it worked without any problems. It did not gave me load error
for the Interop.SHDocVw.dll.
Looks like there are some issues with WatiN when using it on .NET 4.0
framework.
--
Posted via http://www.ruby-forum.com/
Got the first problem solved by editing the configuration file. Now,
facing problem loading the Interop.SHDocVw assembly. Here is the
complete code:
require 'rubygems'
require 'spec'
require File.dirname(__FILE__) + '/bin/Debug/BusinessObjects.dll'
require File.dirname(__FILE__) + '/bin/Debug
Thanks for the help! I edited the IronRuby configuration file and now
the error has disappeared.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Will Green wrote:
> Your app is not the thing trying to load that assembly, IronRuby is. So,
> you'll need to add that to IronRuby's app.config.
>
> That said, why are you trying to load an assembly from a network
> location in
> your tests? That is, IMO bad testing practice.
>
> --
> Will Green
So, I went to the App.config file of my project and added the following
lines:
I tried running it again and encountered the same problem. Any ideas!
--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com
www.
from
> [snip]
> >
> > The error is weird since the "/bin/Debug/" directory does contain the
> > BusinessObjects.dll.
>
> Can you please provide a smaller repro; Preferably 1-2 lines of Ruby code,
> and the source to an example DLL you're trying to load (please don't send
>
Hi,
Do I have to install IronRuby in C:\IronRuby?
I have it installed somewhere else inside the C:\DevTools\IronRuby and
having trouble running spec.
When I do this:
igem install rspec
I get the following:
WARNING: Installing to ~/.gem since C:/Program Files/IronRuby
1.0v4/lib/ironrub
y/gems
I uninstalled IronRuby and then reinstall it in C:\IronRuby. The first
warning now went away but the error is still thrown when running spec
filename.rb.
What am I missing?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironr
Hi,
I will install in c:\ironruby.
Thanks,
Azam
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
I downloaded and installed IronRuby V 1 awesome work guys!!
I went to command line and typed:
igem install rspec
and got the following message:
C:\Users\azamsharp>igem install rspec
WARNING: Installing to ~/.gem since C:/Program Files/IronRuby
1.0v4/lib/ironrub
y/gems/1.8 and
C:/Pro
So after installing spec as a gem I can run it like this:
ir -S spec myfile.rb
So, the following will not work:
ispec myfile.rb
Jim Deville wrote:
> Once you install spec (ir -S gem install rspec), you should then be able
> to run it via ir -S spec
>
> JD
--
Posted via http://www.ruby-foru
I know in RC1 I had to manually copy the following files:
copy C:\ironruby\lib\ironruby\gems\bin\spec C:\ironruby\bin\ispec
copy C:\ironruby\lib\ironruby\gems\bin\spec.bat
C:\ironruby\bin\ispec.bat
But in RC2 do I have to take these steps or is it automatic?
Thanks,
Azam
--
Posted via http://ww
Can this gem be used with IronRuby rc 1.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Ahh I did not do that!! I think I will just use path collection and
List this is just too much work.
Ivan Porto Carrero wrote:
> Did you change the paths in the app.config file to be absolute?
>
> ---
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Web: http://whit
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
IronRubyConsoleApp.Program.Main(String[] args) in
C:\Projects\ILoveIronRub
y\ILoveIronRuby\IronRubyConsoleApp\Program.cs:line 30
Press any key to continue . . .
Mohammad Azam wrote:
> I used the above code that you provided but it is throwing exceptions:
>
> static void Main(stri
I used the above code that you provided but it is throwing exceptions:
static void Main(string[] args)
{
var setup = ScriptRuntimeSetup.ReadConfiguration();
var runtime = Ruby.CreateRuntime(setup); // error is thrown
here
var engine = Ruby.GetEngine(r
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
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
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
yeah that is what I am using but WatiN is more geared towards .NET.
Pascal Normandin wrote:
> Hello,
>
> I've been using WatiN
> http://watin.sourceforge.net/
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyf
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
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Hi,
>> Probably because your app config is in a different location than ir.exe.
Do you mean the ironruby app config or my application app config? My
application config is in my application directory. The question is that
why it is not reading my application config automatically.
Thanks,
Azam
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 |
|
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
I copied the ironruby config file into my application's config file and
removed all the path variables from my application but it did not work.
Then I added the "C:\devtools\ironruby-1.0-rc1\lib\ironruby" path and
removed the app.config and then it worked out.
Any ideas that why even copy pasti
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
I will definitely buy your book when IronRuby is publicly released! I
don't want to consult the book and find out that opps that has now
changed in the final release.
Ivan Porto Carrero wrote:
> here's an idea maybe buy my book. All this is explained in there
>
> replace: paths.Add(@"C:\DevTool
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
Here is my implementation:
static void Main(string[] args)
{
var url = "http://www.google.com";;
var engine = IronRuby.Ruby.CreateEngine();
var paths = new List();
paths.Add(@"C:\DevTools\ironruby-1.0-rc1\lib");
paths.Add(@"C:\
Is WatiR supported in IronRuby RC 1?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
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'
So, I added the paths that you provided in my C# code since I am trying
to execute the .rb file from C#. Here is the complete code:
static void Main(string[] args)
{
var url = "http://www.google.com.com";;
var engine = IronRuby.Ruby.CreateEngine();
v
I completely forgot the paths that I need to setup to use open-uri in
IronRuby when using with C#. I need to put those paths in my App.config
to work with open-uri. Can anyone please paste those sections here? I
keep forgetting those sections that I need to include in my App.config.
--
Posted via
Amen to that :D
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Hi,
I was thinking about why to use IronRuby and one of the things that came
to my mind is because of better gems like spec, cucumber etc. Mostly my
use of IronRuby is around unit testing .NET CLR frameworks. But then
.NET CLR implementations is catching up with all these tools like
specflow and (
I was trying to make ironruby to perform code coverage for a .NET
assembly using rcov but it seems like it is not currently supported
yet..
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rub
Most people will use Program files then c"\IronRuby or
c:\devtools\Ironruby.
Consider this thread closed!
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironru
>>Seriously? If a developer isn't comfortable with setting ENV variables
>>what
>>hope do they have to actually write decent code? Even visual studio has
>>it's
>>own special command prompt runner (guess what, it's a bat file, just
>>like
>>dev.bat)
Can we move forward to solve the problem inst
You are completely missing my point
gems are like GAC but IronRuby is not using them as GAC. It is using it
like a simple zip file extraction and folder path mechanism. Since, it
is not an installable every developer can download the IronRuby
framework in a different folder. Which means tha
The problem is that every person has their own IronRuby folder. It has
to work same for everyone. Kind of like libraries in GAC.
You are NOT thinking throughly about the problem!
This is not regarding putting the path in ENV variables and copying
couple of files. This is about doing the same th
>> This is just basic Ruby. If you want to use Ruby, you have to learn
>> Ruby's
>> nuances. :)
Disagree! You don't have to perform configurations in Ruby. It just
works :)
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironr
Currently in order to run spec I did the following:
1) Set the environment variable for IronRuby (This is done to use
IronRuby on the machine)
2) Copying the files and renaming them.
3) Add IronRuby configs in App.config if I need to invoke spec command
from C#.
Sorry to say but 90% of the pe
Okay that worked out but I am still not comfortable copying files and
renaming them to batch files and putting them in the bin directory of
the IronRuby folder. Also switching back and forth between the dev.bat
and console. Also, cmd console is not able to find dev.bat from anywhere
so I have t
OKay let's do this step by step. I am failing on step ONE!
C:\Projects\EStudyVS2008\EStudySoltution\EStudy\ConsoleApplication2>igem
install
rspec
ERROR: While executing gem ... (RangeError)
bignum too big to convert into Fixnum
--
Posted via http://www.ruby-forum.com/.
__
I guess there is no point doing all of this since IronRuby does not
support rCov for code coverage for the .NET CLR assemblies.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/ma
Does that mean I have to go to the following folder:
C:\DevTools\ironruby-1.0-rc1\lib\ironruby\gems\1.8\gems\rspec-1.3.0\bin
and copy the files into the
C:\DevTools\ironruby-1.0-rc1\bin
folder?
--
Posted via http://www.ruby-forum.com/.
___
Ironruby
I don't like to execute dev.bat each time I need to work with IronRuby.
Why can't it just work out of the box like PowerShell.
This is a big defect in the IronRuby. Too many configurations will scare
developers away. People are not interested in setting paths in ENV
variables, performing config
The problem is that my command line does not recognize ispec or rspec or
mspec. it only recognize spec which is basically ruby framework and not
ironruby.
Previously with IronRuby 0.9 I used the following command:
spec test_prime.rb --format nested
and it worked.
Now, when I use spec it execu
There is mspec, spec, rspec...
In order to run IronRuby specification framework do I have to use rspec.
Also, I think I have to set the ENVIRONMENT variables again for this to
work right??
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core ma
I did ran igem install spec and it worked fine in IR 0.9. Anyway, how
should I make it work with IronRuby and not Ruby. Does this mean I have
to alter the ENV path AGAIN!
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby
I am trying to unit test my .NET CLR assembly using IronRuby spec
framework. First, the following command does not work anymore
igem install spec
Now, I have to type the following:
igem install rspec
Anyway, when I run the following script:
require 'rubygems'
require 'spec'
require File.dirn
var scriptingRuntime = IronRuby.Ruby.CreateRuntime();
var engine = scriptingRuntime.GetEngine("rb");
var operations = engine.CreateOperations();
var paths = new List();
paths.Add(@"C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libs");
BTW,
I like to mention that I love IronRuby. The above post is the feedback I
received from the audience who were in my "I Love IronRuby" session.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
htt
When I presented on IronRuby at different events and showed people how
much they have to do in order to get the thing in working state they
nudge their head and says no thanks.
Developers are already drained under configuration and now they have to
remember this one more configuration.
Settin
Will this be changed in the final release!! This configuration, setting
different paths etc is too much a hassle for developers.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/m
I thought this path mess was cleaned in the IronRuby RC version. I have
the "bin" folder path in my environment variable.
I can execute the ruby implemention of the rexml/document without any
problems. But when I try to do the same using C# invoking IronRuby it
throws exceptions.
--
Posted via
Is rexml/document compatible with IronRuby? I am running the following
code:
and it throws me the exception:
require 'rexml/document'
include REXML
class EnvironmentSetupService
def setupEnvironment(connectionString)
# open the file
file = File.open('../../Web.config','w+')
doc = Document.n
This works if I create a ruby file and execute it like this:
ir something.rb
but it does not work using the following code:
static void Main(string[] args)
{
var script = @"require 'rubygems'
require 'rake'
require 'rakefile';
Rake::Task['foo'].execute";
var
Jim Deville wrote:
> http://onestepback.org/index.cgi/Tech/Rake/FindInCode.red
I am not sure if the article above is related to my issue.
I want to simply execute a rake task using IronRuby engine in DLR.
I can do this:
static void Main(string[] args)
{
var engine = IronRu
Jim Deville wrote:
> a) irake is meant to be a command line runner, if you are trying to
> execute it from C#, then you should be executing a single file that is a
> rake application.
> b) dev.bat is for developing IronRuby. If you don't like dev.bat, and
> you just want to use IronRuby, use a r
call irake foo
did not work!
The reason is that in order to run irake it is required that I run
dev.bat first which seems weird and silly!
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http:/
Hi,
Thanks! I got it working using Dev.bat.
It will my pleasure to meet you at the MVP Summit :) Maybe we can record
a Podcast about IronRuby.
Thanks,
Azam
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyfor
How can I execute irake from C#?
static void Main(string[] args)
{
var engine = IronRuby.Ruby.CreateEngine();
engine.Execute("../../rake foo");
}
The above does not work!
--
Posted via http://www.ruby-forum.com/.
_
And here is my environment variables:
c:\ruby\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files\TortoiseSVN\bin;C:\DevTools\IronRuby\ironruby\Merlin\Main\bin\Debug;C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\l
When I execute igem install rake I get the following error:
C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Scripts\bin>irake.bat
'"C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Scripts\bin\ir.exe"'
is not recognized as an internal or external command,
operable program or batch
mailing list
> Ironruby-core@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com
www.azamsharp.com
___
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
>
--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com
www.azamsharp.com
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Also, I like to mention that for some reason I had to provide the --guess
parameter for cucumber to work.
icucumber features/some_step.rb --guess
If I don't use the guess parameter then it was picking the values from the
previous defined examples.
On Thu, Sep 24, 2009 at 2:34 PM, Mohammad
at least one Ruby company that is using it, I don’t know
> about any IronRuby users, but I hope there are some J
>
>
>
> JD
>
>
>
> *From:* ironruby-core-boun...@rubyforge.org [mailto:
> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mohammad Azam
> *Sent:*
t;
>
>
> Then /the service should throw exception/ do
>
> lambda {...@primeservice.isprime(@n_number.to_i)}.should raise_error
>
> end
>
>
>
> JD
>
>
>
> *From:* ironruby-core-boun...@rubyforge.org [mailto:
> ironruby-core-boun...@rubyforge.org] *On Behalf O
error
end
Then /the service should throw exception/ do
end
On Thu, Sep 24, 2009 at 1:58 PM, Mohammad Azam wrote:
> I am having trouble in where to throw the exception. The exception will be
> thrown in "When" and not "Then" as shown below:
> Scenario Outline: Th
mbda { @primeService.IsPrime(number.to_i) }.should raise_error Exception
>
>
>
> Does that help?
>
> JD
>
>
>
> *From:* ironruby-core-boun...@rubyforge.org [mailto:
> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mohammad Azam
> *Sent:* Thursday, Sept
t be an else construct, but I would argue that if you need an
> else/but, then you have 2 behaviors in a single scenario.
>
>
>
> JD
>
>
>
> *From:* ironruby-core-boun...@rubyforge.org [mailto:
> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mohammad Azam
> *S
the prime service should throw an exception
But it shows up as "Then" and not "But". Is there anything related to "But"
in Cucumber.
--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com
www.azamsharp.com
___
How can I refer to the CLR properties in IronRuby.
public class Customer {
public string FirstName { get;set; }
}
In Ruby:
@customer.FirstName = 's'
OR
@customer.firstname = 's'
--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.c
t;
> http://github.com/xerxesb/calcdotnet
>
>
> On Wed, Sep 23, 2009 at 2:07 PM, Mohammad Azam
> wrote:
> > Hi,
> > I am trying to get Cucumber to work with IronRuby and .NET class. For
> some
> > reason it does not like the describe keyword from spec and b
I forgot to exit the dev.bat which is different console.
I restarted the cmd again and Cucumber works fine.
On Wed, Sep 23, 2009 at 11:44 AM, Mohammad Azam wrote:
> After running the dev.bat and set my ICucumber is failing:
> C:\Projects\ILoveIronRuby\ILoveIronRuby\testing>icucumber
STRICTE
D\Builtins\KernelOps.cs:1326:in `load'
C:\Projects\ILoveIronRuby\ILoveIronRuby\testing>
On Wed, Sep 23, 2009 at 9:38 AM, Jim Deville wrote:
> Can you start a new cmd process, run dev.bat, and then run "set" and
> paste that output?
>
> Thanks
> JD
>
>
cess, run dev.bat, and then run "set" and
> paste that output?
>
> Thanks
> JD
>
>
>
> --
> From: Mohammad Azam
> Sent: September 23, 2009 9:15 AM
> To: ironruby-core@rubyforge.org
> Subject: Re: [Ironruby-core] Seems like it i
re-boun...@rubyforge.org [mailto:
> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mohammad Azam
> *Sent:* Wednesday, September 23, 2009 8:58 AM
>
> *To:* ironruby-core@rubyforge.org
> *Subject:* Re: [Ironruby-core] Seems like it is loading from the Ruby
> libraries instead of I
make sure to unset that variable at the
> command line (set GEM_PATH=) or from your Ruby scripts themselves (ENV
> ['GEM_PATH'] = nil), but the latter is preferred.
>
> ~js
>
> --
> *From:* ironruby-core-boun...@rubyforge.org [
> ir
> *From:* ironruby-core-boun...@rubyforge.org [
> ironruby-core-boun...@rubyforge.org] on behalf of Mohammad Azam [
> azamsh...@gmail.com]
> *Sent:* Tuesday, September 22, 2009 9:12 PM
> *To:* ironruby-core@rubyforge.org
> *Subject:* [Ironruby-core] before is different from Before
>
>
22, 2009 9:35 PM
>> *To:* ironruby-core@rubyforge.org
>> *Subject:* Re: [Ironruby-core] Seems like it is loading from the Ruby
>> libraries instead of IronRuby gems
>>
>> What are the values of gem_path and gem_home?
>>
>> Sent from my iPhone
>>
&g
xtensions\IListOps.cs:810:in `each'
C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA
CTED\Builtins\Enumerable.cs:150:in `b__9'
C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA
CTED\Extensions\IListOps.cs:810:in `each'
C:\DevTools\Iro
1 - 100 of 230 matches
Mail list logo