Displaying 20 results from an estimated 10000 matches similar to: "Rake not finding lib/tasks folder?"
2006 Mar 20
4
Capistrano: cap show_tasks working but rake show_tasks not?
Does it make sense that if I type cap show_tasks it works but when I
type rake show_tasks I get:
rake aborted!
Don''t know how to build task ''show_tasks''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]''
2006 Mar 21
2
Capistrano: creating your own tasks
When I create a task within capistrano.rb I can call it using rake.
When I create a task and put it in deploy.rb I can call it. Neither
with or without the remote: namespace.
Anyone have any insight into why it does not work?
John Kopanas
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 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
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,
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 Mar 06
11
Capistrano setup fails
I can''t get past the setup step in Capistrano. I know the paths are
correct and I''m using zsh locally (bash on remote), so the shell
shouldn''t be a problem. It never asks for the SSH password, even. Any
help you could give would be greatly appreciated. Thanks.
Kenneth
--
=> the blog from beyond <=
=> www.eyeheartzombies.com <=
2006 May 26
4
Jamis, problem w/Capistrano
Jamis,
I''ve spent hours trying to get Capistrano working, to no avail. I''m
hosting over at www.railsplayground.com, and here''s their instructions
I''ve been following:
http://tinyurl.com/hyo93
I can''t get past step 7. When I execute "rake remote:setup", I get a
rake aborted! message. When I do a "rake --tasks", I get only a
2009 Jun 13
2
Rake migration error
Hi,
I am constantly getting an error when I use the rake command to do a
migration or even use drop, this happened after I installed some
plugins such as paperclip and seed-fu.
The error is:
rake aborted!
uninitialized constant PKG_NAME
/var/www/html/quote/Rakefile:10
The Rakefile looks like this:
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example
2006 Mar 09
1
Capistrano Error undefined method ''local''
I get an error after running Capistrano deploy...
zdennis@silver:~/source/projects/listedpropertiesllc.com$ rake deploy
(in /home/zdennis/source/projects/listedpropertiesllc.com)
loading configuration
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
* executing task deploy
** transaction: start
* executing
2006 Mar 22
1
Capistrano - run command
Man, I can''t wait to get my hands on the capistrano book when it
comes out :-).
I have the following task in capistrano.rake (any task in deploy.rb
just does not want to be called)
=========
desc "Restarts the lighttpd server"
task :restart_server do
run "/users/home/jkopanas/bin/lighttpdctrl restart"
end
=========
When I run rake restart_server I get the
2006 Apr 08
6
Deploy with Capistrano Win32 -> Linux
Im trying to deploy with capistrano from win32 to Linux but no success.
I''ve been installed: cwRsync to ssh
I ran
rake remote:exec ACTION=setup --trace
and get:
Anyone knows how to get capistrano log ssh comunication?
Any idea?
Thanks
rake aborted!
End of file reached
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.8/lib/net/ssh/transport/version-negot
iator.rb:51:in `readline''
2006 May 16
8
capistrano can''t find svn
I''m trying to get capistrano to deploy to an osx machine - rake
remote:cold_deploy but it fails on the svn co line with
"bash: line 2: svn: command not found"
I''ve set the proper path to svn (/usr/local/bin) in both .bash_profile
and .bash_login but capistrano seems to be ignoring these.
How does capistrano know where to look for svn?
Thanks
2006 May 17
3
Capistrano: Skipping require of dynamic string
Hi all,
I am starting out to play with capistrano. I installed the capistrano
gem, and I got some messages. I am not sure if these are errors,
warnings or just status messages.I hope someone here can help me
understand these messages, so that I don''t suspect Capistrano
installation if I run into issues further down. :-)
binil$ gem install -r capistrano
Attempting remote installation
2006 Apr 18
7
freeze_gems to upgrade and SVN
Hi all-
I just decided to move from my 1.1.0 to 1.1.2. I had previously frozen
to 1.1.0 and therefore had all of rails in SVN in my vendor directory.
When I finally got rake freeze_gems to work, it blasted (rm -rf) my
vendor/rails directory and put a new one in there. This also blasted
all my .svn directories.
Is there some convenient way to do a freeze upgrade and play well with
SVN?
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
2006 Sep 16
2
Versioning in rake
Attached a set of patches to remove hardcoded version strings in the
rakefiles and libs.
It only matters to people who are distributing packages from a SVN
checkout. If you want to create a versioned release, you have to call
rake like:
rake gem WXRUBY_VERSION=0.0.37
Rake and wxruby will remember what version you have named, so you only
have to mark it once. The version can be updated by
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings,
Today I''ve been working out how to begin using Capistrano and so far I''m
impressed. Even in my situation, learning Rails and deploying to a
single server, it''s incredibly helpful. I do have one small question
though:
In using Subversion I''ve used the "ignore" feature to ignore my local
database.yml file, because my local database and
2009 Feb 21
4
problem with running rake db:migrate on a Rails app
Hi everybody,
I am trying to get the Typo blog engine up and running in development
mode but I hit the wall as early as running rake db:migrate:
(in /home/tweisser/workspace/typo/typo)
rake aborted!
no such file to load -- spec/rake/spectask
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `gem_original_require''
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment