search for: rake_task

Displaying 14 results from an estimated 14 matches for "rake_task".

2013 Mar 02
0
Problems getting rspec testing working in OSX?
...no package name specified rspec ./spec/classes/apache_spec.rb:50 # apache With a package name specified rake aborted! /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S rspec spec/classes/apache_spec.rb --color failed /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/rake_task.rb:156:in `run_task'' /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/rake_task.rb:124:in `initialize'' /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/rake_task.rb:122:in `send'' /Library/Ruby/Gems/1.8/gems/rspec-core-2.13.0/lib/rspec/core/rake_tas...
2009 Sep 15
3
how to run all tests AND metric_fu
...o run ?rake test? (every time a new revision is in the svn repo) and ?rake metrics:all? (let?s say every 24 hours). how do i have to configure cruisecontrol.rb? both rake tasks work. however, when i configure cruisecontrol.rb as described on the metric_fu website, i.e. add ''project.rake_task = ?metrics:all? project.scheduler.polling_interval = 24.hours? to the projects cruise_config.rb, only the metrics:all task is executed, but not the tests. how do i configure cruisecontrol.rb so that both are run?
2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
...2503:in `const_missing'' /var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/tasklib.rb:8 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'' /var/lib/gems/1.8/gems/rspec-core-2.11.1/lib/rspec/core/rake_task.rb:4 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'' /var/lib/gems/1.8/gems/puppetlabs_spec_helper-0.2.0/lib/puppetlabs_spec_helper/rake_tasks.rb:2 /usr/lib/ruby/1.8/rubygems/custom_require.rb:3...
2012 Jun 08
1
Announce: puppetlabs_spec_helper 0.1.0 Available
...atches are welcome. To convert a module with existing spec tests to use the gem: * install the gem with ''gem install puppetlabs_spec_helper'' * Change your Rakefile to the following contents: require ''rubygems'' require ''puppetlabs_spec_helper/rake_tasks'' If you have any special rake tasks, you can add them after the requires and they will work as expected. * Change spec/spec_helper.rb to the following contents: require ''rubygems'' require ''puppetlabs_spec_helper/module_spec_helper'' * Create...
2008 Feb 06
1
RSpec 1.1.3 + ZenTest 3.9.1 + Rails 1.2.6 do NOT ignore folders ^vendor/*
...r/plugins/active_scaffold/test/extensions/array.rb Dunno! vendor/plugins/active_scaffold/lib/extensions/nil_id_in_url_params.rb Dunno! config/amazon_s3.yml Dunno! vendor/rails/actionpack/lib/action_controller/base.rb Dunno! vendor/plugins/acts_as_solr/lib/solr/response/base.rb Dunno! vendor/plugins/rake_tasks/init.rb Dunno! public/images/linqia/icon_groupmember.gif Dunno! vendor/plugins/acts_as_solr/test/db/test.db Dunno! vendor/rails/actionpack/lib/action_controller/mime_type.rb Dunno! public/stylesheets/themes/default/close.gif Dunno! db/migrate/021_create_community_bookmarks.rb Dunno! vendor/plugins...
2013 Oct 28
1
Using puppetlabs_spec_helper on Windows 7
I''m trying to make puppetlabs_spec_helper runs on Windows 7 to test my Puppet modules. Is this supported ? Because I encountered some problems: 1. symlinks were not created on Windows 7 (even if the functionnality are availabe). To manage that I added to rake_tasks.rb an ugly function: def make_link(source,target) ruby_platform = RbConfig::CONFIG[''host_os''] if RUBY_PLATFORM =~ /mswin|mingw|cygwin/ then #Windows Stuff source_win=source.tr("/","\\") target_win=target.tr("/",&...
2011 Jan 07
1
no such file to load -- spec/rake/spectask
I am sorry but it seems like this should be a simple answer. when i run a any rake command i get the following error: no such file to load -- spec/rake/spectask i amusing bundler and have the latest rspec installed. any idea? make dev tough when you can not do any rake tasks...
2014 Aug 12
0
How to make puppetlabs_spec_helper ignore modules inside fixtures
...run the 'rake spec' it is trying to run the 'apt' tests, and it is failing (I think) because I am not providing the appropriate facts. Is there a way to ignore the rspecs inside the fixtures/modules/ directory? I tried to do this: require 'rake'require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/*/*_spec.rb'end But it didn't work. Can anybody point me in the right direction here? Thanks in advance, Seb -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou...
2008 Mar 31
0
[CruiseControl] mongrel-trunk-mingw32 build 997.1 failed
...TDERR TAIL END PROJECT SETTINGS ---------------- # Project-specific configuration for CruiseControl.rb Project.configure do |project| project.email_notifier.emails = [''mongrel-development at rubyforge.org'', ''rubyinstaller-devel at rubyforge.org''] project.rake_task = ''clobber compile test'' project.scheduler.polling_interval = 5.minutes end
2010 Oct 25
2
Fail to load spec/rake/spectask
Hi! I''m a newbie at Ruby. I''m trying to run rspec tests using rake. In my rake file I include spec/rake/spectask. It fails to load giving me the following message: rake aborted! no such file to load -- spec/rake/spectask C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'' I''m using version 1.8.7 of Ruby. I have installed rake
2010 Jun 24
1
Scheduling a nightly build - config options
...ier.emails = [''krishnan.kannan at mydomain.com''] # Set email ''from'' field to john at doe.com: project.email_notifier.from = ''cruisecontrolrb at mydomain.com'' # Build the project by invoking rake task ''custom'' #project.rake_task = ''all_unit_tests'' # Build the project by invoking shell script "build_my_app.sh". Keep in mind that when the script is invoked, # current working directory is <em>[cruise&nbsp;data]</em>/projects/your_project/work, so if you do not keep build_my_app...
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt package and have install rspec-puppet (and other required gems), and rake, using gem install. I''ve run rspec-puppet-init in the module I want to test, and have created a very basic spec file for one of the classes in my module.
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working through the initial example. Although I''m a fairly experienced RSpec user, I''m stlll learning new tricks. Anyway, I''m going though the mastermind example, and everything is going well, except that I decided to also try out the Textmate bundle for Cucumber. I decided to use Ben Mabey''s
2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to accompany Puppet 3.0 and Hiera 1.0. It includes Puppet functions for hiera and also the puppet backend for hiera lookups. Downloads are available: * Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz * Apt and yum development repositories * Apple package