similar to: Spork and Merb and rSpec

Displaying 20 results from an estimated 2000 matches similar to: "Spork and Merb and rSpec"

2011 May 08
1
Spork + Autotest Failure
Hi folks, I''m going through railstutorial.org and so I apologize if I''m hitting the wrong group here and would appreciate any appropriate redirection if necessary. I''ve set up Spork + Autotest as per Michael''s instructions in http://ruby.railstutorial.org/chapters/static-pages#sec:testing_tools Essentially by doing the following (using rvm & I''m
2012 Nov 16
0
[LLVMdev] code-owner sporks
On Thu, Nov 15, 2012 at 5:17 PM, Greg Fitzgerald <garious at gmail.com> wrote: > Just brainstorming here, but what if each CODE_OWNER maintained a spork on > Github and accepted Pull Requests? What's a spork, you ask? Well it's > fork with no intent to diverge - it spoons some centralized repo (be it via > git or git-svn). If you haven't heard the term
2012 Nov 16
4
[LLVMdev] code-owner sporks
Just brainstorming here, but what if each CODE_OWNER maintained a spork on Github and accepted Pull Requests? What's a spork, you ask? Well it's fork with no intent to diverge - it spoons some centralized repo (be it via git or git-svn). If you haven't heard the term 'spork' in this context before, it's either because I just made it up or that we share the same
2012 May 18
2
How does Spork help in requests specs?
Even with Spork, my requests specs are very slow to start running (about 7 seconds). I suspect Rails is booting each time I run "rspec -X spec/requests". Is that true? If so, is there any way I could instruct the web server to keep alive after the specs run so that it would be faster on next run? Are there any resources on how to have better performance on running requests specs
2014 Jun 03
0
bundle exec spork error need help
Using RSpec, Rails Preloading Rails environment undefined method `generators' for #<Rails::Railtie::Configuration:0x0000000339a898> (NoMethodError) /home/rorway/.rvm/gems/ruby-2.1.2/gems/railties-4.1.1/lib/rails/railtie/configuration.rb:95:in `method_missing' /home/rorway/.rvm/gems/ruby-2.1.2/gems/rspec-rails-2.0.0.beta.18/lib/rspec-rails.rb:4:in `<class:Railtie>'
2012 Nov 16
5
[LLVMdev] code-owner sporks
I think the main benefit of a scheme like this would be that a pull request tells a code owner which patches require their attention. As a contributor it would be nice to see your patch in a queue somewhere rather than just be buried down the mailing list. When patches are sent to llvm-commits it can be hard to tell if a code owner has noticed the patch because it is a very high-volume list.
2011 Jun 22
0
Spork, Rails and testunit
Hi. I''m trying to use Spork (actually spork-testunit, last git version) with Rails 3. My setup is correct, I manage to launch Spork (through bundle exec) and testdrb. But I cannot succeed to have my models reloaded. Spork-testunit''s doc says to put the loading commands in the prefork block, which I did. Nobody seems to require the use of Spork#trap_method. What is the good
2012 Jul 06
0
Spork doesn't reload 'some' models
Hi everyone. I''ve been using spork+guard+rspec with great happiness in my latest projects, but yesterday I came across to a wired bug I can''t really understand and where I''ve spent the whole morning trying to figure out what was going wrong. Let me explain. I''ve making unit test to my models. When I apply changes to the spec files they are correctly reloaded
2012 Nov 17
2
[LLVMdev] code-owner sporks
On Fri, Nov 16, 2012 at 4:39 PM, Greg Fitzgerald <garious at gmail.com> wrote: > David A. Green wrote: >> I find llvm-commits daunting. So much that I hesitate to do reviews. >> As Chris commented, I am not very active on that list. There's a reason >> for that beyond lack of time. > > So the goal is to make it easier for a member of the community to >
2011 Mar 27
0
Autotest, cucumber, spork and the wrong file
Running: Rails 3.0.5 ZenTest 4.5.0 autotest (4.4.6, 4.3.2) autotest-fsevent (0.2.5, 0.2.2) autotest-growl (0.2.9, 0.2.4) autotest-rails (4.1.0) autotest-rails-pure (4.1.2, 4.1.0) cucumber (0.10.2) cucumber-rails (0.4.0) spork (0.9.0.rc4) Gives me a truly bizarre situation. When I touch my features file, autotest runs a single, unrelated rspec test. Cucumber alone or with spork gives me the
2007 Aug 04
2
How do you run an app on "edge merb"?
I didn''t quite see a direct answer to Matt''s question regarding running merb from SVN: http://rubyforge.org/pipermail/merb-devel/2007-July/000132.html In a merb application, is there something comparable to having rails in the vendor/ folder of a rails app? Thanks, Duane Johnson (canadaduane)
2007 Nov 07
2
merb 0.4.0 session issue
Not sure if anyone else has had this problem. I was running on merb edge fine a few days ago. Last night I went to merb 0.4.0 via gem install and now any call to session[:foo] causes an error >> undefined method ''[]'' for nil:NilClass I have uninstalled and reinstalled merb with no luck. dependencies.rb use_orm :activerecord merb.yml :session_store: active_record Gems
2007 Dec 30
2
Loading config YAML into merb process for the life of the process
Hey Chaps, Forgive me for not fully understanding the inner workings of merb, but I would like to read in a YAML configuration file once when the application is booted rather than reading it every time it is used (as presumably the overhead in doing that is significant?) - I had presumed this is how both Merb and rails do it for there database.yml config files (hence its a requirement
2007 Nov 07
1
merb/sequel mutex on or off? proxy_balancer or no?
Just a quick question to those of you using merb and sequel or datamapper. How do you setup your merb app? For example: merb -X off -c 5, then run mod_proxy_balancer or nginx to load balance between the 5 (or whatever #) of merb nodes? merb -X off -d, then simply use something like proxypass merb -c 5, keep the mutex lock and cluster it haproxy, swiftiply, evented mongrel...... What
2007 Sep 21
3
merb 0.4.0 - redirect problems
I had redirects working just the other day... before I upgraded to the latest release. Can somebody please chime in as to why this simple redirect is throwing an error? Controller: ----------------------- def do redirect "http://www.ebay.com" end Error Output: ------------------------- Internal server error 500 uninitialized constant Merb::ControllerMixin::MovedTemporarily in
2007 Mar 13
2
running merb locally
Stupid question, but is there a way to run merb locally, without installing it as a gem? I don''t mean freezing it into a merb app, but checking out merb and being able to run it without installing the gem first. The reason I ask is that I''m working on some debugging stuff and it''d be helpful to be able to modify the source code, run it, modify, run, and so on. (And yes,
2007 Jul 31
2
Deploying with Merb
After a half day''s work I''ve created a Merb app to handle file uploads for a Rails app. In my dev environment, I changed the views in the Rails app to point to Merb on port 4000. But now I''m stuck trying to figure out how to deploy my new Merb app on a production server. Looks like originally this was handled with a rewrite rule
2008 Jan 03
3
Whats the merb equivilant of this?
Hey All Quick question, what''s the merb equivalent of this: ActionView::Base.new([template_root], assigns, self) in merb? Ive found Merb::Template::Erubis.transform(:file => ''/path/to/file'') But I''ve no idea if thats the correct thing to be calling? It doesn''t ''feel'' right, so im not sure it is? Thanks Tim
2008 Mar 13
1
Merb Projects and Autotest
Hi! I''m rather new to Merb, but I thought I''d give it a shot. I found that autotest wasn''t running my specs when my models were changing. Maybe this is because of how I have set up Merb, but in the even that it''s not just me, I''ve adapted Autotest''s mappings for Rails and have attached my efforts to this email. Unfortunately, you need to
2008 Mar 13
4
Merb in production with God/Monit
Hey All, I just wanted to get other peoples take on problems when running merb in production? Just as Rails used to do, the mongrels tend to get heavy/unresponsive over time so need a good kicking by a watcher daemon like god or monit. However, I have had serious problems getting God to restart the process, as the "merb -k <port>" command doesnt appear to work reliably