Don't know how to build task 'inploy:local:update' #4

Open
felipero opened this Issue Jun 14, 2010 · 4 comments

Comments

Projects
None yet
2 participants

When running rake inploy:remote:update on my machine or on my server, I get Don't know how to build task 'inploy:remote:update'

When running it like

inploy

I get an error on my server telling:
Don't know how to build task 'inploy:local:update'

Maybe I should load manually the inploy tasks from somewher?

Owner

dcrec1 commented Jun 14, 2010

Yes, please add the following code to your Rakefile:

require ‘inploy’
load ‘tasks/inploy.rake’

In the next version this step will not be required :)

ok.. after add that the error has changed to:

$ rake inploy:remote:update
(in /data/workspaces/tattico/strategia)
rake aborted!
/data/workspaces/tattico/strategia/Rakefile:9: Invalid char `\342' in expression
/data/workspaces/tattico/strategia/Rakefile:9: Invalid char `\200' in expression
/data/workspaces/tattico/strategia/Rakefile:9: Invalid char `\230' in expression
/data/workspaces/tattico/strategia/Rakefile:9: Invalid char `\342' in expression
/data/workspaces/tattico/strategia/Rakefile:9: Invalid char `\200' in expression
/data/workspaces/tattico/strategia/Rakefile:9: Invalid char `\231' in expression
/data/workspaces/tattico/strategia/Rakefile:10: Invalid char `\342' in expression
/data/workspaces/tattico/strategia/Rakefile:10: Invalid char `\200' in expression
/data/workspaces/tattico/strategia/Rakefile:10: Invalid char `\230' in expression
/data/workspaces/tattico/strategia/Rakefile:10: Invalid char `\342' in expression
/data/workspaces/tattico/strategia/Rakefile:10: Invalid char `\200' in expression
/data/workspaces/tattico/strategia/Rakefile:10: Invalid char `\231' in expression

(See full trace by running task with --trace)

I'm using ruby 1.9.1-p376. I saw that you added suport for 1.9.2. I wonder if you testesd it on 1.9.1 too.

Owner

dcrec1 commented Jun 15, 2010

Sorry, I took the code from a comment and the quotes were wrong, the code should be like this:

require 'inploy'
load 'tasks/inploy.rake'

I didn't add support for 1.9.1 because Rails don't support it, as it's considered a buggy version. Anyway, I thinks the problem is because of the quotes and not of the version.

Please tell me if this fixes the problem.

you're right. I figured it out few seconds before see your comment. I was about to comment it here. The quotes where wrong. :P

Now it works fine with 1.9.1. I tried to use 1.9.2 from head, but it was buggier than 1.9.1. I use 1.9.1-p376 and is the best build so far (better than p378). It is working pretty well for me.

Well... thanks anyway. As you know, I've been using inploy with rails 3 for some time now and on several projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment