Displaying 20 results from an estimated 30000 matches similar to: "Rails can't find my Rake Tasks"
2006 Apr 12
2
Rake not finding lib/tasks folder?
Hi all,
I''m attempting to set up a new Rails app using Typo. I''ve downloaded
the Typo 2.6.0 edition which includes Rails 1.0 and it works fine. I''ve
set up version control with SVN and checked out a new working copy.
I''ve run Capistrano -A on the application and it''s set up my deploy.rb
and lib/tasks/capistrano.rake.
Rake doesn''t seem
2006 Mar 21
0
Automatic namespacing of custom Rake tasks
As you know you can create your own .rake files in lib/tasks and
Rails will automatically find them - as Rake 0.7 adds namespace
support and Rails is already taking advantage of these namespaces if
you are on Edge Rails I thought it would make a lot of sense if Rails
automatically namespaced your own custom rake files, so I raised a
ticket for this and I''ve now implemented it
2008 Nov 05
1
My rake is broken - "no such file to load..."
Hey folks
After doing an update from our svn server, rake is no longer working for
me, though it''s fine for my team-mates. I get this error:
no such file to load -- spec/rake/spectask
/home/max/work/e_learning_resource/trunk/Rakefile:10:in `require''
when i try to do any rake task. The file it mentions looks like this,
with line 10 being the last line:
#Rakefile
# Add
2006 Sep 05
0
can't use rake deploy with Capistrano
Hello,
When I do rake deploy I have an error. As you can see, capistrano
tryes to ln a dir that already removed (and I think that the
directory is never created by capistrano).
Before this command I made rake remote:exec ACTION="setup" that
executed the following command:
mkdir -p -m 775 /home/explicadores/apps/tutor/releases /home/
explicadores/apps/tutor/shared/system
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
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end:
Finished in 0.000276 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
My Gemfile is:
source ''http://rubygems.org''
gem ''rack''
gem ''rails'', ''3.0.9''
gem "acl9", ''0.12.0''
gem "fastercsv"#, :version =>
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 16
1
Problem with Rake ''remote_exec'' for Capistrano/Switchtower
Hi
I''m trying to deploy an app from WinXP to a Linux host(Site5), and
wondering if anyone knows the answer to this?
I''ve got SwitchTower/Capistrano installed - seems to be fine. But when
I try to "rake remote_exec ''remote_exec''" rake dies on me with a "Don''t
know how to build task ''remote_exec''" message
The
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 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
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
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 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 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,
2009 Nov 02
0
testing Rake tasks with FakeFS
Jake Benilov wrote:
> Hello Ben,
>
Hi Jake,
I hope you don''t mind but I am copying this response to the rspec-users
list in case any one else is able to shed more light on it.
> I have a bit of a newbie question regarding fakefs; I want to test Rake
> tasks using fakefs and rspec:
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> require
2008 Mar 18
0
rake tasks
Hi All,
New to merb, I was wondering if there are any similar rake tasks to that
of the rails rake stats?
Im using merb version 0.5.3
Tried the aok task and am getting the following:
eoghan-js-Computer:test_app eoghanj$ rake aok
(in /project/merb/test_app)
/usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45:
warning: already initialized constant RELEASE
rake rcov
(in
2010 Apr 15
1
Problems with rake
I receive an error when I try to create or setup database using rake
command. Rake is installed.
Error: bash: /opt/local/bin/rake: /opt/local/bin/ruby: bad
interpreter: No such file or directory. Is it not in the path but how
come I can to gem list show the gems?
Please help
gem list
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.2.2, 1.13.6)
actionwebservice
2007 Jun 09
1
Rake test tasks only work with --trace
So this has left me completely confused. I''m trying to get the test
suite going on an existing app, but things going a little crazy.
In the application directory if I do ''rake'' or ''rake test'' I get:
rake aborted!
Lost connection to MySQL server during query
However if I do ''rake test:units'' or ''rake
2010 Jul 03
0
** Execute environment rake aborted! Could not find table 'pages'
Hey, I''ve googled this pretty thoroughly and saw a couple people with the
same issue but none of the solutions worked for me.
Background: I am trying to upload my Radiant CMS site to Heroku.
Location: http://morning-frost-41.heroku.com/
Problem: Well on Heroku, the thing that really stands out it:
PGError: ERROR: relation "pages" does not exist
Pages refers to a table within
2009 Mar 06
2
rake test:functionals -> Task not supported by ''
I have a Rails project in which I''ve been using "rake test" tasks with
great success. At some point (there were a few changes in the interim),
rake started aborting test tasks. Here is the dialog:
===
$ rake test:functionals
(in /Users/fritza/myproject)
rake aborted!
Task not supported by ''''
(See full trace by running task with --trace)
===
The separate