Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Jarmo Pertman
I didn't get any replies about that problem so far but i just managed to find out how to make it work manually. The problem is that the bundle exec is not working like this on Windows: bundle exec C:\bin\pik\Ruby-187-p302\bin\ruby But works like this: bundle exec C:\bin\pik\Ruby-187-p302\bin\ruby

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread David Chelimsky
On Nov 10, 2010, at 7:54 AM, Jarmo Pertman wrote: > I didn't get any replies about that problem so far but i just managed > to find out how to make it work manually. What manual change did you make? > The problem is that the bundle exec is not working like this on > Windows: > bundle exec C:\bin

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Jarmo Pertman
On Nov 10, 4:06 pm, David Chelimsky wrote: > On Nov 10, 2010, at 7:54 AM,JarmoPertmanwrote: > > > I didn't get any replies about that problem so far but i just managed > > to find out how to make it work manually. > > What manual change did you make? > > > The problem is that the bundle exec is no

[rspec-users] undefined method `contain' for #

2010-11-10 Thread Chad Ostrowski
Here's my Gemfile: group :development, :test do > gem 'rspec-rails', '2.0.0' > gem 'cucumber-rails', '0.3.2' > gem 'capybara', '0.4.0.rc' > end and here's my spec: describe "welcome/index.html.haml" do > it "displays 'Problem Child' in the header" do > render > rendered.should c

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Jarmo Pertman
Ok, the path is coming from autotest.rb in autotest gem. But i think that the bug is in Bundler instead: C:\Users\jarmo\Desktop\minu\projects\Ruby\sample_app>bundle exec c: \Ruby\bin\ruby --version bundler: command not found: c:\Ruby\bin\ruby Install missing gem binaries with `bundle install` C:\

[rspec-users] [Rails] `parse!': invalid option: --autotest (OptionParser::InvalidOption)

2010-11-10 Thread Justin Malone
Well, here it is. I am learning Rails and rSpec at the same time courtesy of Michael Hartl's tutorial. All was going good when this happened. rspec is woking on my other projects so I have no idea what I did wrong. I tryed removing files one by one from 'spec' directory to see if one of the files w

[rspec-users] rspec and autotest integration problem

2010-11-10 Thread ykyuen
Hi all, i am new to ruby and rails and i am following the tutorial in http://railstutorial.org/chapters/static-pages#sec:autotest railstutorial.org to setup the rspec and autotest in my Ubuntu 10.04 i have the following gems installed rspec (2.0.1) rspec-core (2.0.1) rspec-expectations (2.0.1

[rspec-users] rspec-rails - expected helper_method behaviour in view specs

2010-11-10 Thread Jonathan del Strother
Heya, Say I had the following app controller : class ApplicationController:view) ? In addition, rspec-rails1 used to mix all helpers into the view template, right? rspec-rails2 mixes in only the ApplicationHelper and the helper for the current spec, but this seems a strange choice when Rails

Re: [rspec-users] [Rails] `parse!': invalid option: --autotest (OptionParser::InvalidOption)

2010-11-10 Thread David Chelimsky
On Nov 8, 2010, at 10:10 AM, Justin Malone wrote: > Well, here it is. I am learning Rails and rSpec at the same time courtesy of > Michael Hartl's tutorial. All was going good when this happened. rspec is > woking on my other projects so I have no idea what I did wrong. I tryed > removing files

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread David Chelimsky
On Nov 10, 2010, at 8:54 AM, Jarmo Pertman wrote: > On Nov 10, 4:06 pm, David Chelimsky wrote: >> On Nov 10, 2010, at 7:54 AM,JarmoPertmanwrote: >> >>> I didn't get any replies about that problem so far but i just managed >>> to find out how to make it work manually. >> >> What manual change d

Re: [rspec-users] undefined method `contain' for #

2010-11-10 Thread David Chelimsky
On Nov 10, 2010, at 5:44 AM, Chad Ostrowski wrote: > Here's my Gemfile: > > group :development, :test do > gem 'rspec-rails', '2.0.0' > gem 'cucumber-rails', '0.3.2' > gem 'capybara', '0.4.0.rc' > end > > and here's my spec: > > describe "welcome/index.html.haml" do > it "displays 'Pro

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Jarmo Pertman
Yup, understood and opened an issue in Bundler since it seems to be the culprit in the end: https://github.com/carlhuda/bundler/issues/issue/832 Just FYI if there's any other Windows/RSpec2/Autotest/Bundler user :) Jarmo On Nov 10, 5:23 pm, David Chelimsky wrote: > On Nov 10, 2010, at 8:54 AM,J

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread David Chelimsky
On Nov 10, 2010, at 11:32 AM, Jarmo Pertman wrote: > Yup, understood and opened an issue in Bundler since it seems to be > the culprit in the end: > https://github.com/carlhuda/bundler/issues/issue/832 > > Just FYI if there's any other Windows/RSpec2/Autotest/Bundler user :) Nope. Think you're t

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Luis Lavena
On Wed, Nov 10, 2010 at 3:43 PM, David Chelimsky wrote: > On Nov 10, 2010, at 11:32 AM, Jarmo Pertman wrote: > >> Yup, understood and opened an issue in Bundler since it seems to be >> the culprit in the end: >> https://github.com/carlhuda/bundler/issues/issue/832 >> >> Just FYI if there's any oth

Re: [rspec-users] How to specify current directory for specs?

2010-11-10 Thread Daniel Lidström
Hi Zach, thanks for your detailed answer. I think I need some clarifications: I am not using Rails, I have a regular ruby project. When I say I need to read a file, I am talking about a binary file with Othello positions, not a spec helper. It is not a file I can 'require-in'. Sorry for the confus

Re: [rspec-users] Upgrade problems/questions regarding RSpec 1.3.0 to 2.0.1

2010-11-10 Thread Jarmo Pertman
Still no pointers about the small problem below? On Nov 5, 10:29 pm, Jarmo Pertman wrote: > On Nov 5, 1:52 pm, David Chelimsky wrote: > > > > 4) In 1.x i modified ExampleGroup's description in my html formatter > > > to have some additional information in it like timestamp. I did it in > > > exa

Re: [rspec-users] How to specify current directory for specs?

2010-11-10 Thread Rhett Sutphin
Hi Daniel, On Nov 10, 2010, at 2:59 PM, Daniel Lidström wrote: > Hi Zach, > > thanks for your detailed answer. I think I need some clarifications: I > am not using Rails, I have a regular ruby project. When I say I need > to read a file, I am talking about a binary file with Othello > positions,

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Jarmo Pertman
On Nov 10, 9:56 pm, Luis Lavena wrote: > If you strip down the Bundler part, I'm under the same environment too :P > > While I can complain about Bundler doing weird things on Windows I > decided to stop using it and switched to Isolate and invoke commands > with "rake isolate:sh[autotest]" I'm s

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Luis Lavena
On Wed, Nov 10, 2010 at 6:29 PM, Jarmo Pertman wrote: > > Can you share some more (even technical) information about these > solutions? Maybe through some other channel if this might get too > offtopic in here... > Search ANSICON and win32console on Rubyinstaller group: http://groups.google.com/