search for: testtask

Displaying 20 results from an estimated 23 matches for "testtask".

2010 Jun 30
0
rake TestTask problem with t.options
...`each'' from /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/ rake_test_loader.rb:4 rake aborted! Command failed with status (1): [/usr/bin/ruby -I"lib" "/usr/lib/ruby/ gems/...] -------------------- # My rake task: require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' namespace :tcp_test do Rake::TestTask.new(''job_create'') do |t| # t.loader = :testrb # t.ruby_opts = [''-n test_job_create''] t.options = ''-n test_job_create'' t.verbose = true t.patter...
2006 Jul 22
3
test:plugins task dependency on :environment is pointless, surely?
...uite a bit of rooting around the plugin system recently, and one thing in particularly has me puzzled and bemused. At the moment, the test:plugins task has a dependency on the :environment task, thus loading up Rails in all it''s resplendent glory. Once it''s done this it uses Rake::TestTask to load the tests for every plugin. However, because of the way that Rake::TestTask works (loading a new Ruby interpreter which churns through the test cases), the Rails environment is never actually made available to any plugins. If a plugin wants to deal with ActiveRecord, it needs to explicitly...
2012 Feb 27
9
Bit of a issue with creating a new app and running it
HI all, I have just setup the ROR environment on a vps, but once i created the app and run rails s or db:create after modifying the database.yml it keeps on appearing with the "Could not find gem sqlite3" etc message which i know this as it''s not install as i am using mysql. What else have i got to do other than modifying the database.yml as to me it''s still looking
2006 Jun 10
2
readline problems
...' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:747:in `ruby'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `ruby'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:807:in `ruby'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/testtask.rb:117:in `define'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:831:in `verbose'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/testtask.rb:102:in `define'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' /usr/local/l...
2006 Jan 04
1
Newbie question abour Rake
...I run rake from my rails app''s top directory, what rakefile is it really running? I have rails 1.0, and in my top-level directory there is a small file called "Rakefile", which basically just includes a few other files: require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' require ''tasks/rails'' If this is indeed the file that''s being used when I run rake without any parameters, then the tasks must be defined in these other files... but I can''t find these files on my machine. I...
2014 Jan 16
2
[PATCH] hivex: ruby: Minor fix for building with Ruby 1.8
--- ruby/Rakefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in index 204e37c..5ad1502 100644 --- a/ruby/Rakefile.in +++ b/ruby/Rakefile.in @@ -22,7 +22,7 @@ require 'rake/testtask' # Used to be rake/rdoctask. Now it's rdoc/task. begin require 'rdoc/task' -rescue +rescue LoadError require 'rake/rdoctask' end @@ -31,7 +31,7 @@ end begin require 'rubygems/package_task' gempackagetask='Gem::PackageTask' -rescue +rescue L...
2012 Jul 20
1
problem with dashboard
...in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), ''config'', ''boot'')) require ''thread'' require ''rake'' require ''rake/testtask'' require ''rdoc/task'' require ''tasks/rails'' How can I do? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.c...
2006 Aug 07
0
Rake 0.7.1 fails, and even Rake''s auto-test fails
...29:in `sh'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `sh'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:747:in `ruby'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `ruby'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/testtask.rb:117:in `define'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:831:in `verbose'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/testtask.rb:102:in `define'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' c:/ruby/lib/ruby/gems...
2006 Apr 03
0
follow_redirect! aborts rake during integration tests
...:in `sh'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:747:in `ruby'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `ruby'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:807:in `ruby'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/testtask.rb:117:in `define'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:831:in `verbose'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/testtask.rb:102:in `define'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' c:/ruby/lib/ruby/gems/1...
2007 Jul 25
1
strange rake behavior
I''m getting some really really really odd testing behavior. 1. Running rake test:units passes with flying colors. (Well, that''s not what I mean by weird, but I suppose it is ;) ) 2. Running rake test:functionals yields something like ..........................E..............EEEEE.......EEEE...rake aborted! But doesn''t print any stack traces or error message output
2007 Jul 16
6
RubyToken::AlreadyDefinedToken and Edge Rails Docs
I''m having a wee bit of trouble building documentation for Edge Rails (rev 7187). When I attempt to run the doc:rails taask (or any doc:* task), I get the following error: -- BEGIN -- rake aborted! uninitialized constant RubyToken::AlreadyDefinedToken /Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:263:in
2009 Jul 20
9
rake error
When I run rake test:units I get this error: 292 tests, 350 assertions, 2 failures, 13 errors rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/ usr/loc...] This error just showed up yesterday --- I have no idea how I caused it. Here is my gem list in case that helps: actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2)
2009 Jun 13
2
Rake migration error
...n tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), ''config'', ''boot'')) require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' require ''tasks/rails'' <==Line 10 I also ran with trace option and see: (in /var/www/html/quote) rake aborted! uninitialized constant PKG_NAME /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/depen...
2009 Apr 07
3
Speed bumps on the way to successfully running puppetmasterd on Mac OSX Leopard, try one and two
...ruby/1.9.1/rake.rb:981:in `call'' /usr/local/lib/ruby/1.9.1/rake.rb:981:in `sh'' /usr/local/lib/ruby/1.9.1/rake.rb:1065:in `sh'' /usr/local/lib/ruby/1.9.1/rake.rb:1000:in `ruby'' /usr/local/lib/ruby/1.9.1/rake.rb:1065:in `ruby'' /usr/local/lib/ruby/1.9.1/rake/testtask.rb:117:in `block (2 levels) in define'' /usr/local/lib/ruby/1.9.1/rake.rb:1083:in `verbose'' /usr/local/lib/ruby/1.9.1/rake/testtask.rb:102:in `block in define'' /usr/local/lib/ruby/1.9.1/rake.rb:613:in `call'' /usr/local/lib/ruby/1.9.1/rake.rb:613:in `block in execu...
2010 Jun 11
5
Issues creating tables in mysql tests
...rake.rb:1094:in `sh'' /Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake.rb:1029:in `ruby'' /Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake.rb:1094:in `ruby'' /Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake/testtask.rb:117:in `define'' /Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake.rb:1112:in `verbose'' /Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake/testtask.rb:102:in `define'' /Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8...
2005 Dec 28
6
coverage does not work
Hi, I''ve installed coverage (gem install coverage) and try to run tests with -rcoverage option on, but following error occurs: ruby: No such file to load -- coverage (LoadError) I try: ruby -rcoverage mytest.rb 1. I have rubygems in evn var RUBYOPT 2. Gem seems to be installed properly (I can read doc via gems, the files exist in the ../gem/... dirs) Does anyone know what is the
2006 Feb 27
1
problem with rakefile
hi, I am having a problem with the rake test_units in my RoR application. when i''m running it it tries to run all the files that end in *.rb (i think) under the /unit folder in the project and it''s subfolders. The problem is that my source control system (bitkeeper) saves an subfolder named SCCS under each of the project folders, and in it, for eack .rb file another file
2008 Nov 05
1
My rake is broken - "no such file to load..."
...in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), ''config'', ''boot'')) require ''rake'' require ''rake/testtask'' require ''rake/rdoctask'' require ''tasks/rails'' Can anyone help? thanks, max -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups...
2014 Jan 16
0
Re: [PATCH] hivex: ruby: Minor fix for building with Ruby 1.8
...engen wrote: > --- > ruby/Rakefile.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/ruby/Rakefile.in b/ruby/Rakefile.in > index 204e37c..5ad1502 100644 > --- a/ruby/Rakefile.in > +++ b/ruby/Rakefile.in > @@ -22,7 +22,7 @@ require 'rake/testtask' > # Used to be rake/rdoctask. Now it's rdoc/task. > begin > require 'rdoc/task' > -rescue > +rescue LoadError > require 'rake/rdoctask' > end > > @@ -31,7 +31,7 @@ end > begin > require 'rubygems/package_task' >...
2014 Apr 21
0
Facing troubles installing rubymine latest one in vps ubuntu 12.04 64 bit
...tallation script returned error exit status 1 Errors were encountered while processing: redmine E: Sub-process /usr/bin/dpkg returned an error code (1) the below is the Rakefile require(File.join(File.dirname(__FILE__), 'config', 'boot')) require 'rake' require 'rake/testtask' begin require 'rdoc/task' rescue LoadError # RDoc is not available end require 'tasks/rails' this is the 15th line. Kindly let me know where is the issue. Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Ra...