> you don't need to do that anymore :)
>
> At least not for the ironruby that is on github and built from source
>
> there the instructions become:
>
> ir -S gem install rspec
>
> run specs:
> ir -S spec spec/**/*_spec.rb
>
thanks for the trick, that's good to hear (although I mostly use MSI
rele
you don't need to do that anymore :)
At least not for the ironruby that is on github and built from source
there the instructions become:
ir -S gem install rspec
run specs:
ir -S spec spec/**/*_spec.rb
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://fl
> 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
>
>
On my machine (in case it's useful to someone else), here are the paths and
instructions for rspec
http://gist.github.com/291624
-- Thibaut
_
>
>
> Can we move forward to solve the problem instead of mocking?
> --
>
I would expect you would have better success moving forward if you did not
make inflammatory statements such as these:
"This is a big defect in the IronRuby. Too many configurations will
scare developers away."
"Not many p
Any particular reason you aren't using NCover or Clover? I'm not sure
generating coverage reports via rcov (even if it existed for the CLR)
for dlls written in C# would actually produce anything usable.
Cheers,
Sidu.
http://blog.sidu.in
http://twitter.com/ponnappa
Mohammad Azam wrote:
I was tr
On Tue, Jan 26, 2010 at 3:36 AM, Ivan Porto Carrero wrote:
> rcov has a pure ruby variant too IIRC. And for the sake of this discussion
> let's just say that that works as is with IronRuby.
>
> Then I'd be looking at the CLR profiling api again isn't it.
> And to enable that profiling API don't I
hink about add CLR support to ironruby-rcov.
>
>
>
> Make sense now?
>
>
>
> ~Jimmy
>
>
>
> *From:* ironruby-core-boun...@rubyforge.org [mailto:
> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero
> *Sent:* Tuesday, January 26, 2010 1:08
*On Behalf Of *Ivan Porto Carrero
> *Sent:* Tuesday, January 26, 2010 1:08 AM
> *To:* ironruby-core@rubyforge.org
> *Subject:* Re: [Ironruby-core] Did Something Changed Again in Spec...
>
>
>
> How does implementing FFI provide code coverage for the CLR, isn't that
&
to:
> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Ivan Porto Carrero
> *Sent:* Tuesday, January 26, 2010 1:08 AM
> *To:* ironruby-core@rubyforge.org
> *Subject:* Re: [Ironruby-core] Did Something Changed Again in Spec...
>
>
>
> How does implementing FFI provide code coverage
How does implementing FFI provide code coverage for the CLR, isn't that
mutually exclusive? Shouldn't FFI provide us with a way to use C-based
extensions? But C-based extensions won't know about the ironruby internals
etc. Just thinking out loud so feel free to correct me :)
Also aren't the stack
I asked about that earlier, as well, and got the response that it is not
covered. I believe one of the goals post-1.0 is to get Ruby FFI working. If
you'd like to see RCov working, you might write a patch to move RCov to Ruby
FFI so that it will work on IronRuby once FFI support is working. And if
: [Ironruby-core] Did Something Changed Again in Spec...
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
nope that's right.
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Mon, Jan 25, 2010 at 9:15 PM, Mohammad Azam wrote:
> I was trying to ma
, 2010 10:41 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Did Something Changed Again in Spec...
>> 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
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
On Mon, Jan 25, 2010 at 1:55 PM, Jim Deville wrote:
> If you need the IronRuby folder in the "right" location, then require your
> users to use the installer with default options. However, even then, you are
> requiring your users to go through the greater issue of installing IronRuby
> and all o
rofl seriously? You don't know when to call it quits do you.
If you want to duplicate environments you just zip up your installation,
copy it around, extract and add the location to the path (the last isn't
mandatory, because you can still use absolute paths, after all if you
announce to develope
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
Have you used the IronRuby installer? When I used it, it asked me for a
directory and defaulted to Program Files. How is that different than the
one-click Ruby installer?
Ryan Riley
Email: ryan.ri...@panesofglass.org
LinkedIn: http://www.linkedin.com/in/ryanriley
Blog: http://wizardsofsmart.net/
T libraries. Then the setup isn't a problem since it is only
setting up the app.
-Original Message-
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Mohammad Azam
Sent: Monday, January 25, 2010 11:45 AM
To: ironruby-core@rubyforge.org
Su
>>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
On Tue, Jan 26, 2010 at 7:50 AM, Mohammad Azam wrote:
> 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 variab
I'm sorry if I offended you that wasn't my intention. Don't tell me I'm not
thinking.
1. Do you know what gems are and how they work? It's like the GAC
2. It's easy to find out the location of a certain file from script and go
from there (killing the need for the PATH variable)
3. exactly it's abo
-core@rubyforge.org
Subject: Re: [Ironruby-core] Did Something Changed Again in Spec...
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 pa
byforge.org] On Behalf Of Mohammad Azam
Sent: Monday, January 25, 2010 10:25 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Did Something Changed Again in Spec...
Currently in order to run spec I did the following:
1) Set the environment variable for IronRuby (This is done to use Iro
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
interesting you are not opposed to having an installer mess up your system
which involves several clicks, registry entries but are opposed to adding an
entry to PATH and copying 2 files to make an app, which is still in
development, work.
But good to know what we can do to make it even easier for
>> 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
This is just basic Ruby. If you want to use Ruby, you have to learn Ruby's
nuances. :)
Ryan Riley
Email: ryan.ri...@panesofglass.org
LinkedIn: http://www.linkedin.com/in/ryanriley
Blog: http://wizardsofsmart.net/
Twitter: @panesofglass
Website: http://panesofglass.org/
On Mon, Jan 25, 2010 at
, January 25, 2010 10:03 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Did Something Changed Again in Spec...
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 switch
this will change soon when you can do
ir -S spec spec/**/*_spec.rb
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Mon, Jan 25, 2010 at 7:0
Why are you using dev.bat? Are you developing IronRuby? If not, don't use
it. It's unnecessary unless you are working on or debugging IronRuby.
Ryan Riley
Email: ryan.ri...@panesofglass.org
LinkedIn: http://www.linkedin.com/in/ryanriley
Blog: http://wizardsofsmart.net/
Twitter: @panesofglass
Web
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
What version of IronRuby?
-Original Message-
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Mohammad Azam
Sent: Monday, January 25, 2010 9:44 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Did Something Changed Again
, 2010 9:42 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Did Something Changed Again in Spec...
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
25, 2010 9:32 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Did Something Changed Again in Spec...
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
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
Mohammed listen,
If you just extract the ironruby.zip to c:\ironruby and add C:\ironruby\bin
to your PATH you're good to go. always, everywhere.
You're making it out to be harder than it is.
I wrote this earlier but will do it again:
You do igem install rspec
when that completes
copy C:\ironrub
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
org
Subject: Re: [Ironruby-core] Did Something Changed Again in Spec...
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
there is mspec, rspec, bacon, .
Ironruby uses mspec
The rest of the world (that means just about anything that isn't a ruby
implementation) uses rspec, shoulda, bacon, test-unit, test-spec,
All you need to do to run the specs for ironruby is that you have to execute
dev.bat but I though
man! changing the PATH variable isn't needed
it never worked the way you say.
http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/
follow that for the spec and spec.bat file
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
GSM: +32.486.787.582
Bl
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
the command you want is ispec
or you're mixing the gems from your MRI install in which case I'd say don't
do that nastiness follows.
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby i
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
--Original Message-
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Mohammad Azam
Sent: Monday, January 25, 2010 8:56 AM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] Did Something Changed Again in Spec...
I am trying to unit test m
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
52 matches
Mail list logo