search for: runner

Displaying 20 results from an estimated 896 matches for "runner".

Did you mean: wunner
2006 May 29
2
How to use script/runner
I''ve read the wiki and Agile and can''t find the answer. When using script/runner I''ve gotten simple model functions similar to the -help example to run: $script/runner ''puts Vendor.find(1).name3'' where Vendor is a model. However when I try to run a function in a controller it doesn''t work: $script/runner ''puts ApplicationHelper...
2007 Jan 12
2
spec_ui problems
...9;' from /Users/byamabe/Desktop/spec_ui/lib/spec/ui/formatter.rb: 5:in `extra_failure_content'' from /Users/byamabe/Desktop/spec_ui/lib/spec/ui/formatter.rb: 11:in `extra_failure_content'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/formatter/html_formatter.rb:57:in `spec_failed'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/reporter.rb:78:in `spec_failed'' from /opt/local/lib/ruby/gems/1.8/gems/rspec-0.7.5/lib/spec/ runner/reporter.rb:27:in `spec_finished''...
2007 Oct 02
4
align the runner
I saw from the thread "color output" that there is a plan to "align the runner". Is there a place to see what that means? I am just curious. Thanks Shane
2006 May 31
1
runners and development/production mode
I''m using a runner script to try and send batch email update, however I get the impression that the runner is not operating in production mode and as a result it is falling foul of the system I have in place to block emails goinc out in development in testing modes. Is there some way for me to force a runner to oper...
2007 Apr 25
9
Running specs for a plugin - undefined method ''define'' for object
...e_schema_information() -> 0.0006s -- columns("schema_info") -> 0.0005s ./vendor/plugins/audit_fu/spec/audit_fu_spec.rb:3: undefined method `define'' for #<Object:0x1f69f4> (NoMethodError) from /Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/runner/behaviour_runner.rb:85:in `load'' from /Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/runner/behaviour_runner.rb:85:in `load_specs'' from /Users/jeff/Sites/niche/audit_fu/vendor/plugins/rspec/lib/spec/runner/behaviour_runner.rb:84:in `each''...
2007 Nov 28
6
textmate bundle
...sted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name /Users/zdennis/source/ao_projects/circlebuilder/vendor/plugins/rspec/lib/spec/runner/options.rb:173:in `load_class'': "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/plug...
2011 May 20
3
"no such file to load -- rails/commands/runner (LoadError)"
...bash script which I want to run in cron. If I directly run the bash file it runs. If I run it through the cron I get the following error:- "/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'': no such file to load -- rails/commands/runner (LoadError) from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'' from runner:10:in `<main>'' from /usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require''...
2017 Sep 13
3
glusterfs expose iSCSI
Hi all I want to configure glusterfs to expose iSCSI target. I followed this artical https://pkalever.wordpress.com/2016/06/23/gluster-solution-for-non-shared-persistent-storage-in-docker-container/ but when I install tcmu-runner. It doesn't work. I setup on CentOS7 and installed tcmu-runner by rpm. When I run targetcli, it not show *user:glfs* and *user:gcow* */>* ls o- / ...................................................... [...] o- backstores ........................................... [...] | o- block .......
2017 Sep 13
0
glusterfs expose iSCSI
On Wed, Sep 13, 2017 at 1:03 PM, GiangCoi Mr <ltrgiang86 at gmail.com> wrote: > Hi all > Hi GiangCoi, The Good news is that now we have gluster-block [1] which will help you configure block storage using gluster very easy. gluster-block will take care of all the targetcli and tcmu-runner configuration for you, all you need as a pre-requisite is a gluster volume. And the sad part is we haven't tested gluster-block on centos, but just source compile should work IMO. > I want to configure glusterfs to expose iSCSI target. I followed this > artical > https://pkalever.wor...
2007 Apr 11
13
View Specs Fail with "protected method render"
...ugin, and my model/controller specs all pass and work well. I can''t seem to get views to work though - 100% of the specs fail with: NoMethodError in ''/users/show.rhtml should render attributes in <p>'' protected method `render'' called for #<Spec::Rails::Runner::ViewSpecController:0x3197dfc> /Users/jeff/Sites/niche/trunk/vendor/plugins/rspec_on_rails/lib/spec/rails/runner/context/view.rb:102:in `render'' ./spec/views/users/show_rhtml_spec.rb:13: Note the "protected method `render'' called for #<Spec::Rails::Runner::ViewSpecCont...
2007 Sep 03
6
blog post on story runner
Here''s an excellent blog post on Story Runner, which will be part of the next release and is undergoing active development in trunk: http://evang.eli.st/blog/2007/9/1/user-stories-with-rspec-s-story-runner
2008 Oct 22
3
Rake task vs script/runner
Hello, until now I allways used script/runner for running Rails cron jobs I wonder is there is any benefit (except not having any fake runner model in the models directory) to use a rake task instead in lib/tasks Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message...
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
..., but I get the error no matter how I run the spec ( whether I use rake or not) Any ideas? I am using 0.8.2 The Error: C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib/spec/expectati ons/sugar.rb:14:in `call'': undefined method `controller_name'' for #<Spec::Runner ::ContextEvalModule:0x35e6a98> (NoMethodError) from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec- 0.8.2 /lib/s pec/expectations/sugar.rb:14:in `_method_missing'' from C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2 /lib/s pec/expectations/sugar.rb...
2009 Apr 24
3
Running in non-dev envs. with script/runner shebang setup
All, I have a script that runs script/runner via the shebang mechanism at the top o the file, like so: #!/usr/bin/env ./script/runner This works fine in development, how would I get it to run in non-development environments? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2008 Dec 01
1
Undefined method "full_description" when trying to run "rake spec"
...;' for #<Spec::Rails::Example::ControllerExampleGroup::Subclass_73::Subclass_9:0x7f5fdca4a810> (NoMethodError) from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/matchers.rb:155:in `method_missing'' from /home/mauricio/NetBeansProjects/talkies/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb:25:in `example_pending'' from /home/mauricio/NetBeansProjects/talkies/vendor/plugins/rspec/lib/spec/runner/formatter/progress_bar_formatter.rb:18:in `example_pending'' from /usr/lib64/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/reporter.rb:125:...
2008 Oct 18
4
Problems when programmatically defining examples
Hi, I am trying to code an application that is based on Rspec; I am programmatically building examples, and launching the runner with a custom formatter. Here are the code snippets from my app: Launching the runner: example_groups = test_expectation.example_groups_for(system_state) @output = StringIO.new options = Spec::Runner::OptionParser.parse(["--format", &quot...
2007 Dec 29
0
(unknown)
...__________________________ Overview -------------------------------- Backgroundjob (Bj) is a brain dead simple zero admin background priority queue for Rails. Bj is robust, platform independent (including windows), and supports internal or external manangement of the background runner process. Jobs can be submitted to the queue directly using the api or from the command line using the ./script/bj: api: Bj.submit ''cat /etc/password'' command line: bj submit cat /etc/password Bj''s priority queue lives in the databa...
2007 Sep 14
2
Mocks in StoryRunner
Hi, I''m trying to get up and running with StoryRunner. I have a story that looks something like the following, but the call to mock_model produces the exception listed below. Am I just misunderstanding the concept? Are mocks not meant to be used in stories like this? Or is this a bug? Changing @user to be an actual AR object makes things run without e...
2007 Oct 05
5
DRbConnError when using script/runner
...ls 1.2.3 app in production using the DRb server. I recently upgraded my configuration and the method with which I start and stop the server no longer works: Here is the command I would like to use (and have used in the past) to start the aaf server: $ /Library/WebServer/rails/ccdb/current/script/runner -e production /Library/WebServer/rails/ccdb/current/script/ferret_start /opt/local/lib/ruby/1.8/drb/drb.rb:736:in `open'': druby://localhost:9090 - #<Errno::ECONNREFUSED: Connection refused - connect(2)> (DRb::DRbConnError) from /opt/local/lib/ruby/1.8/drb/drb.rb:729:in `each&...
2008 Oct 28
1
Script/Runner
I have a production site that has a couple of batch jobs, I have used script/runner and cron to run these jobs. This works ok for jobs that only run once overnight during off peak. I am expiring sessions older than 30 mins every 15 mins using script/runner, but I''m concerned about the hit of script/runner loading up the whole rails environment, specifically since I only...