search for: option_parser

Displaying 20 results from an estimated 20 matches for "option_parser".

2009 Mar 31
7
[Cucumber] Running single feature from command line
...get Failed to load features/support/env.rb from /Library/Ruby/Site/1.8/ rubygems/custom_require.rb:31:in `polyglot_original_require'' from /Library/Ruby/Gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in `require'' from /Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/ option_parser.rb:144:in `invoke_requires'' from /Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/ option_parser.rb:143:in `each'' from /Library/Ruby/Gems/1.8/gems/rspec-1.2.2/lib/spec/runner/ option_parser.rb:143:in `invoke_requires'' from /Library/Ruby/Gems/1.8/gems/rspec-1.2...
2007 Mar 01
4
RC1, Rails, and problems with multiple options in spec.opts
...ruby/1.8/optparse.rb:1205:in `order!'' from /opt/local/lib/ruby/1.8/optparse.rb:1279:in `permute!'' from /opt/local/lib/ruby/1.8/optparse.rb:1300:in `parse!'' from /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/ plugins/rspec/lib/spec/runner/option_parser.rb:180:in `parse'' ... 9 levels... from /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/ plugins/rspec/lib/spec/runner/option_parser.rb:180:in `parse'' from /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/ plugins/rspec/lib/spec/runner/option_...
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
...def colour(text, colour_code) - return text unless @colour && @output == Kernel + return text unless @force_colour || (@colour && @output == Kernel) "#{colour_code}#{text}\e[0m" end diff -upr rspec-0.7.5/lib/spec/runner/option_parser.rb rspec-0.7.5_with_colour_patch/lib/spec/runner/option_parser.rb --- rspec-0.7.5/lib/spec/runner/option_parser.rb 2006-12-21 01:42:44.000000000 -0800 +++ rspec-0.7.5_with_colour_patch/lib/spec/runner/option_parser.rb 2006-12-21 01:38:15.000000000 -0800 @@ -11,8 +11,7 @@ module Spec d...
2007 Jan 12
2
spec_ui problems
...original_require'': no such file to load -- ./spec/selenium (LoadError) from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require'' from ./spec/spec_helper.rb:7 from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/option_parser.rb:107:in `require'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/option_parser.rb:107:in `parse'' from /opt/local/lib/ruby/1.8/optparse.rb:1218:in `call'' from /opt/local/lib/ruby/1.8/optparse.rb:1218:in `order!''...
2007 Nov 13
2
new to rspec, error running "rake rspec" on debian/etch
...ctivesupport/lib/active_support/dependencies.rb:147:in `require\ '' from /home/dan/projects/cw/registration/config/../vendor/plugins/rspec_on_rails/lib/spec/rails.rb:17 ... 22 levels... from /home/dan/projects/cw/registration/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:155:in `parse'' from /home/dan/projects/cw/registration/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:88:in `create_behaviour_runner'' from /home/dan/projects/cw/registration/vendor/plugins/rspec/lib/spec/runner/command_line.rb:14:in `run''...
2007 May 24
3
Annoying problem, stack error
....rb:125:in `klass'' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/associations/has_many_association.rb:194:in `construct_sql'' ... 30 levels... from /Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:154:in `parse'' from /Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:88:in `create_behaviour_runner'' from /Users/sparta/Projects/work/idastudios/ff/vendor/plugins/rspec/lib/spec/runner/command_line.rb:14:in `run'...
2007 Nov 28
6
textmate bundle
...lass'': "textmate" is not a valid class name (RuntimeError) from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:137:in `parse_format'' from /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:93:in `initialize'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:in `call'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/optparse.rb:1260:in `parse_in_order'' from /System/Library/Frameworks/...
2007 Aug 13
3
Rspec compatibility issue
I''m trying to get Rspec working. Using the installing 1.0.7 & the Rails plugin, I tried one of the examples on Rspec''s website and produced the following error: ############################################################################ Your RSpec on Rails plugin is incompatible with your installed RSpec. RSpec : 1.0.7 (r2332) RSpec on Rails : r2331 Make sure
2007 Mar 06
10
Windows rspec "gem install win32console"
Hi, Hi I am trying to use RSPEC on windows and i keep getting the following error "You must gem install win32console to use colour on Windows" I have installed this Gem but i am still getting the same error. The file that error is coming from is: C:\ruby\lib\ruby\gems\1.8\gems\rspec-0.8.2\lib\spec\runner\formatter\base_text_formatter.rb Do i need to put this line of code in? Where
2007 Mar 01
1
Problems with RC1 & Rails Controllers
....1/ lib/sqlite3/database.rb:187:in `prepare'' from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ lib/sqlite3/database.rb:211:in `execute'' ... 29 levels... from /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/ plugins/rspec/lib/spec/runner/option_parser.rb:180:in `parse'' from /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/ plugins/rspec/lib/spec/runner/option_parser.rb:13:in `create_context_runner'' from /Users/smtlaissezfaire/Sites/rails/dictionary/vendor/ plugins/rspec/lib/spec/runner/command_line.rb:...
2008 Jan 31
1
DRb does not activate using options file
...spec_server is just ignored and environment get loaded locally. Trying to pinpoint the problem, it seems that using -O don''t handle/load set --drb, but when you put all the options in the command line, works as expected. Couldn''t find anything besides this (rspec/lib/spec/runner/option_parser.rb:111) on(*OPTIONS[:drb]) {} == Maybe I''m missing something, did anyone get it working? Thanks in advance, -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. D...
2007 Nov 24
5
rspec.opts
Where can I find a list of the options and their usage and meanings for the contents of this file? Regards, -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada
2007 Oct 10
2
RSpec seems to be having a hard time loading Helper classes
...b:488:in `load'' from /Users/chrisolsen/Projects/Rails/chrisolsen/trunk/vendor/plugins/rspec/lib/spec/runner/behaviour_runner.rb:106:in `load_specs'' ... 14 levels... from /Users/chrisolsen/Projects/Rails/chrisolsen/trunk/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:155:in `parse'' from /Users/chrisolsen/Projects/Rails/chrisolsen/trunk/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:88:in `create_behaviour_runner'' from /Users/chrisolsen/Projects/Rails/chrisolsen/trunk/vendor/plugins/rspec/lib/spec/runner/command_line.r...
2007 Sep 28
4
RSpec + EdgeRails on Windows
...'' from /cygdrive/c/Documents and Settings/Christopher D. Pratt/test/config /../vendor/rails/railties/lib/initializer.rb:87:in `process'' ... 25 levels... from /cygdrive/c/Documents and Settings/Christopher D. Pratt/test/vendor /plugins/rspec/lib/spec/runner/option_parser.rb:155:in `parse'' from /cygdrive/c/Documents and Settings/Christopher D. Pratt/test/vendor /plugins/rspec/lib/spec/runner/option_parser.rb:88:in `create_behaviour_runner'' from /cygdrive/c/Documents and Settings/Christopher D. Pratt/test/vendor /plugins/rspec/lib/sp...
2007 Oct 05
9
I can''t make RSpec 1.0.8 run in Rails 1.2.3
I followed the directions on the site: ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/REL_1_0_8/rspec_on_rails ruby script/generate rspec And apparently everything was ok. But when I do a "rake spec" on the app folder none of the Rails models are visible. Here is the error: (in
2007 Nov 01
5
Can''t delete app/helpers
I would like to remove some unused helpers from the app/helpers dir, but when I do so my specs fail. Why is this? I don''t see where those helpers are referenced within the tests. Is there a way to delete these unused files? Thanks -- Posted via http://www.ruby-forum.com/.
2007 May 26
11
RSpec
...behaviour_factory.rb:36:in `new'' from /Users/multimedia/Desktop/restful_auth_rspec/vendor/plugins/rspec/lib/spec/dsl/behaviour_factory.rb:36:in `create'' ... 21 levels... from /Users/multimedia/Desktop/restful_auth_rspec/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:154:in `parse'' from /Users/multimedia/Desktop/restful_auth_rspec/vendor/plugins/rspec/lib/spec/runner/option_parser.rb:88:in `create_behaviour_runner'' from /Users/multimedia/Desktop/restful_auth_rspec/vendor/plugins/rspec/lib/spec/runner/command_line.rb:14:in `r...
2007 Feb 13
3
spec.opts
Hi, Just built the gem from trunk for the first time and ran into an issue with the generated spec.opts file (rev. 1493). Moving the file out of the way fixed the problem. I''m not on windows, so this is not a win32console gem issue as per the README. /usr/lib/ruby/gems/1.8/gems/rspec-0.8.0/lib/spec/expectations/sugar.rb:13:in `call'': undefined local variable or method
2007 May 10
12
shared descriptions -- a couple of issues
Hello All, I''ve just upgraded to rspec/rspec_on_rails 0.9.3 and am very excited about shared descriptions. They couldn''t have come at a better time: I just finished refactoring some REST controllers so that the bulk of the actions are inherited from a superclass. Now I can write the specs once, too. :) I''ve hit a couple of snags, though. I thought I''d
2007 Jul 26
5
Coding standards and whitespace
...matter/html_formatter.rb rspec/lib/spec/runner/formatter/progress_bar_formatter.rb rspec/lib/spec/runner/formatter/rdoc_formatter.rb rspec/lib/spec/runner/formatter/snippet_extractor.rb rspec/lib/spec/runner/formatter/specdoc_formatter.rb rspec/lib/spec/runner/heckle_runner.rb rspec/lib/spec/runner/option_parser.rb rspec/lib/spec/runner/options.rb rspec/lib/spec/runner/reporter.rb rspec/lib/spec/runner/spec_parser.rb rspec/lib/spec/runner.rb rspec/lib/spec/translator.rb rspec/lib/spec/version.rb rspec/Rakefile rspec/README rspec/spec/spec/dsl/behaviour_eval_spec.rb rspec/spec/spec/dsl/behaviour_factory_spe...