similar to: Capistrano and RSpec

Displaying 20 results from an estimated 40000 matches similar to: "Capistrano and RSpec"

2007 Apr 11
5
Default exclude pattern in 0.9.0
The "rspec" rake task collects all _spec files in the spec directory, and excludes the "watir" directory. Is this indicating a preference for using Watir over Selenium? I would like it better to standardize on something more neutral, ''ui'' perhaps? /Marcus -- Marcus Ahnve http://marcus.ahnve.net
2006 Apr 18
3
Capistrano and Certificates
All, I''m setting up a deployment script with Capistrano at the moment, and am running into some trouble when it attempts to pull the code down from the SVN server when I run the deploy task. The SVN server runs over https, and the problem seems to be when I get asked whether I want to accept or reject the certificate. I hit ''p'' to accept the certificate permanently,
2007 Oct 26
2
rspec and capistrano
Hi, has anyone here written a capistrano task for rspec to run through my specs on the deployed server? I''d appreciate a snippet or two to get me started. Thx linoj
2007 May 29
2
Selenium, Spec:Ui and ... forks?
I am using Spec:UI to run my Selenium tests, and I want to start Selenium only once, for many descriptions. I''ve come quite far solving it by declaring a main ui spec like the following: require ''pathname'' require File.dirname(__FILE__) + ''/selenium'' $base_url="http://localhost:3000" $browser =
2006 Apr 20
1
Capistrano not working for me
Hello fellow railers, I''m new to the whole RoR thing and I have finished installing and setting everything up on my OSX G4 Powerbook. I followed the step by step instructions at Hivelogic, running lighttpd and everything else. I''m having an issue with Capistrano. I''m following the tutorial at Apple: http://developer.apple.com/tools/rubyonrails.html Everything in
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a different box. However I''m installing a fresh copy now and am finding constant regex errors from the standard.rb file while attempting to "show_tasks". As this is a new installation, everything is up-to-date. Here''s the environment: FreeBSD 6.2-RC2 ruby 1.8.5 gem 0.9.0 rake 0.7.1 net-ssh 1.0.10, 1.0.9
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for the life of me can''t figure out why I''m getting this exception thrown. I''ve switched from Switchtower to Capistrano, and when I run rake deploy I get this output: ** [update_code] exception while rolling back: NameError, uninitialized constant Net::SSH::Transport::OSSL
2006 May 25
5
Weird Capistrano problem
I''m having problems launching the spin process via the deploy.rb task. Everything works great when is run the script manually via: % ssh admin@monterey.example.net /Web/Rails/Example/current/script/spin However, when I run ''cap spinner'' or ''rake remote:exec ACTION=spinner'', I get the following errors: % cap spinner loading configuration
2006 May 24
0
capistrano on windows
I''m trying to deploy my app to the production server (on dreamhost) from a windows box. however, all I get is "rake aborted" without any further error messages. I have no idea where to even start debgging this. I''ve checked and re-checked the details in deploy.rb but otherwise I''m stumped. any ideas anyone? thanks al output from command line:
2006 Aug 12
3
Capistrano deployment pathname error
When I try to do a deployment with Capistrano I get the error "No such file to load -- pathname" when Cap tries to execute reaper. Any ideas what''s causing this or how I can troubleshoot it? (Output follows.) Thanks. Evan -----BEGIN OUTPUT----- [evans-powerbook:~/Desktop/asktheguys] evan% clear ; rake remote:deploy (in /Users/evan/Desktop/asktheguys) loading
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy! Here is my deploy.rb: require "bundler/capistrano" require "rvm/capistrano" # Load RVM''s capistrano plugin. set :rvm_ruby_string, :local # Or whatever env you want it to run in. ''1.9.3'' set :domain, ''www.xxx.com'' set :application,
2006 May 26
3
capistrano on windows (again)
Hi all I didn''t get a response to my first post so I thought I''d try again. is anyone successfully using capistrano to deploy their app from a windows box? I''m trying to deploy a test app to my dreamhost account but all i get is "rake aborted!" with no further information. Can someone please confirm if capistrano even works under windows? many thanks al
2007 Oct 22
4
HOW TO REBUILD DATABASE WITH CAPISTRANO
I''ve deployed an application using Capistrano. But on my local machine I edited one of the earlier migrations. I''ve tried "cap deploy_with_migrations", but it looks like it didn''t rebuild the database. How can I do the equivalent of this using Capistrano? "rake db:migrate VERSION=0" "rake db:migrate" -- Posted via
2006 Mar 08
2
Rake error after installing Capistrano
After I uninstalled SwitchTower and installed Capistrano, I tried run rake --tasks and got the error message below: rake aborted! undefined method `namespace'' for #<Object:0x28a9258> ./rakefile:10 I''ve run "cap -A ." on my Rails application before running rake --tasks. The same thing happens when I overwrite my copy of deploy.rb. Hmm, what could be going wrong
2006 Jul 26
3
Capistrano - freezes & I don''t get prompted for password??
Hi, Just having a problem trying to get capistrano working to the remote server. I''ve set things up per the below to links, but when I enter "cap setup" (or "rake remote:exec ACTION=setup" - I assume they are the same) then things FREEZE and it never asks me for a password. I have to kill the "cmd" window. Is there a way to get some level of trace or
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2. Running rspec on it brings about a large amount of these messages: DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:haml] instead. (called from block (2 levels) in <top (required)> at
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody I''m currently reading through the Pragmatic Programmers RSpec book, and I really enjoy it. But I’m facing some problems because of the fact that the book is already some years old, I guess. I have installed rvm and use Ruby 1.9.3, and I didn’t really get some Rails code examples to work properly, so I tried it with a 1.8.7 installation, but there I had some other problems
2006 Jun 15
1
Problem with deployment on TextDrive using shovel script
Hi, I try to deploy rails application to textdrive account. I use Geoffrey Grosenbach''s script http://nubyonrails.com/pages/shovel Unfortunatly I receive error message :-( Can you help me with this problem? I have no clue where exactly problem is :-( Please see log below ---- LOG ---- c:\Projekty\truck\trunk>rake --trace remote:exec ACTION=setup_lighty (in
2007 Apr 17
8
problem with rspec_on_rails and @controller.should_receive(:render) in trunk
Hey guys! I am using rspec trunk, and I am having a little problem with the latest version. (I am quite sure this worked with an older version about a week ago) heres the spec: it "should render the new user form without layout for a xhr request" do @controller.should_receive(:render).with(:layout=>false) xhr :get,:new end and the controller: def new render