Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-02-01 Thread Thibaut Barrère
> 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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-02-01 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-02-01 Thread Thibaut Barrère
> 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 _

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-26 Thread Orion Edwards
> > > 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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-26 Thread C. K. Ponnappa
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-26 Thread Ryan Riley
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-26 Thread Ryan Riley
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-26 Thread Ryan Riley
*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 &

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-26 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-26 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ryan Riley
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
: [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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
, 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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ryan Riley
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ryan Riley
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/

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
>>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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Orion Edwards
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
-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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
>> 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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ryan Riley
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
, 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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ryan Riley
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
, 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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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/. __

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Ivan Porto Carrero
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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

Re: [Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Jim Deville
--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

[Ironruby-core] Did Something Changed Again in Spec...

2010-01-25 Thread Mohammad Azam
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