guard Questions
2
Solved
I use spork with Guard + Rspec but the debugger doesn't work as expected:
I added require 'spork/ext/ruby-debug' just after the require 'spork'
it properly stops on debugger breakpoints...
... bu...
Aquacade asked 16/11, 2011 at 8:34
1
Solved
3
Solved
I'm currently using guard i.e. guard-coffeescript gem to compile my javascript (and in the future I'll probably add some more guard tasks) on my OSX dev system. I added the rb-fsevent gem to my Gem...
Rae asked 24/6, 2011 at 19:23
3
Running Guard with Spin works great to keep my testing fast, except when assets are relevant and need compiling. It seems that the test environments recompiles all assets whenever I change somethin...
Solingen asked 15/11, 2012 at 10:27
1
Solved
I have a rails application that I just threw guard and minitest and my gaurd file is
guard 'minitest', :cli => '--drb --format doc --color' do
# with Minitest::Unit
watch(%r|^test/(.*)\/?tes...
Pappas asked 1/11, 2012 at 2:22
2
Does anyone have any concrete reasoning for using one autotesting runner over another? I've used both Autofeature+autotest, I really like the built-in process that this sets up in that it runs my r...
2
Solved
I'm following along with the Ruby on Rails Tutorial.
Things are working pretty well, but I noticed that Guard only runs after I save some files (view or controller files), but doesn't run when I sa...
Photometer asked 1/2, 2012 at 20:6
1
Solved
Is there a way to create a simple guard watch? I want to run a rake task when a file changes in a specific directory and going through all of these steps is too much for this one off task. https://...
2
Solved
I have my features organized in subfolders, like this:
app/
features/
users/
feature1.feature
feature2.feature
But everytime I save a feature, Guard runs all my features (not just the one th...
Linstock asked 20/5, 2011 at 18:51
2
Solved
I came accross this code on the web:
is_char(Ch) ->
if Ch < 0 -> false;
Ch > 255 -> false;
true -> true
end.
is_string(Str) ->
case is_list(Str) of
false -> fal...
1
Solved
My goal is to build a simple custom guard with Guard. The gem install and bundler install for my app went fine. My Guardfile contains:
notification :growl
guard 'eyeball' do
watch %r{^app/(.*)}
...
1
Solved
Why is it illegal?
min1_e_( F, X, E) ->
if
F( X + 2*E ) < F( X + E ) -> % ?
min1_e_( F, X, E*2 );
true ->
E
end.
I mean, if I define both parts of expression separately, it wo...
1
Solved
I am following along the Ruby on Rails Tutorial and have gotten somewhat confused in the testing section, in particular - 3.6.2 - Automated tests with Guard
As per the tutorial's instructions for ...
Invoke asked 31/3, 2012 at 17:31
1
Solved
I followed the Rails Tutorial on setting up automated tests with Guard and Spork. Every once in a while, especially when saving an unedited template in my editor, Guard will complain (full backtrac...
Gutbucket asked 14/3, 2012 at 22:26
2
Solved
I am unable to get growl notifications when i run $guard
Do i need any particular version for growl_notify?
Growl version = 1.2
Here is my gem file.
gem 'rails', '3.1.3'
gem 'sqlite3'
grou...
Spendable asked 26/12, 2011 at 3:45
2
I have been running Guard for RSPEC and using the growl_notify gem for a while now (2-3 months), but now I cannot get guard to run in any of my Rails 3.1.1 projects. I've done some research on the ...
Fogged asked 26/12, 2011 at 23:58
3
Solved
I have been debugging the infamous EXC_BAD_ACCESS error for a few days now. NSZombieEnabled = YES did not offer anything. The call stack was different everytime I received the error, which was once...
Corves asked 18/3, 2011 at 23:5
1
Solved
In Xcode 4.x I've edited my Run scheme to 'Enable Guard Malloc' since I have a nondescript malloc error I need to track down. I'm aware I need to run in the simulator to use this feature. However, ...
2
Solved
So on a Rails 3.0.9 app I'm using Spork/Guard/RSpec/FactoryGirl on 1.9.2.
I would like to know how can I get Spork/Guard to automatically update my factories and locales.
Tremble asked 23/7, 2011 at 17:56
3
Solved
I have this function in Haskell:
test :: (Eq a) => a -> a -> Maybe a
test a b
| a == b = Just a
test _ _ = Nothing
This is what I got when I tried the function with different inputs:
...
Drove asked 18/8, 2011 at 14:42
4
I'm always interested in trying new things with my workflow, and I thought it might be an interesting experiment to automatically commit between red, green and refactor steps, but then manually squ...
Stepaniestepbrother asked 15/8, 2011 at 16:2
3
Solved
What is the simplest way to write an if statement in Erlang, where a part of the guard is member(E, L), i.e., testing if E is a member of the list L? The naive approach is:
if
... andalso member...
Shetler asked 3/8, 2011 at 13:57
1
Solved
I have the "guard-rspec" gem installed in my gemfile:
group :development do
gem "guard-rspec"
gem "growl"
end
When I run guard, it executes my rspec unit tests and outputs this message at the ...
5
Solved
I'm just wondering about a recursion function I'm laying out in Haskell. Is it generally better to use guards than patterns for recursion functions?
I'm just not sure on what the best layout is b...
Dandiprat asked 20/5, 2011 at 20:18
2
Solved
I often hear the phrase, guards are just syntactic sugar for if-then-else (or case statements).
Can somebody please desugar the following instance:
halfOf :: Int -> Int
halfOf x | even x = div...
Bagehot asked 15/11, 2010 at 3:50
© 2022 - 2024 — McMap. All rights reserved.