Having problems
Reported by Zach Inglis | August 16th, 2007 @ 10:59 AM
Like http://err.lighthouseapp.com/pro... but with no -e
Without -T gives me the same problem. I have tried: gem install sake --force
Still same issues.
Kratos-II:~/sites/rails/rake zachinglis$ sake -T
/opt/local/lib/ruby/gems/1.8/gems/sake-1.0.9/lib/sake.rb:312:in `parse': (eval):14:in `parse': compile error (SyntaxError)
(eval):12: syntax error, unexpected kRESCUE, expecting kEND from /opt/local/lib/ruby/gems/1.8/gems/sake-1.0.9/lib/sake.rb:312:in `join'
from /opt/local/lib/ruby/gems/1.8/gems/sake-1.0.9/lib/sake.rb:312:in `parse'
from /opt/local/lib/ruby/gems/1.8/gems/sake-1.0.9/lib/sake.rb:459:in `tasks_file'
from /opt/local/lib/ruby/gems/1.8/gems/sake-1.0.9/lib/sake.rb:455:in `method_missing'
from /opt/local/lib/ruby/gems/1.8/gems/sake-1.0.9/lib/sake.rb:108:in `run'
from /opt/local/lib/ruby/gems/1.8/gems/sake-1.0.9/bin/sake:5
from /opt/local/bin/sake:16:in `load'
from /opt/local/bin/sake:16
Comments and changes to this ticket
-
Chris Wanstrath August 17th, 2007 @ 07:12 PM
- State changed from new to open
Can you pastie your ~/.sake file?
-
Zach Inglis August 18th, 2007 @ 10:46 AM
Sure, I had previously uninstalled the 5 tasks I had so only have your examples,
-
Chris Wanstrath August 18th, 2007 @ 01:42 PM
- State changed from open to resolved
The problem seems to be the original
routes
task gets turned into some bunk ruby byruby2ruby
.Check this:
[13:38][chris@nyx:~]$ wget http://pastie.caboo.se/88921.txt ... [13:39][chris@nyx:~]$ ruby -c 88921.txt 88921.txt:12: syntax error, unexpected kRESCUE, expecting kEND
Try this task instead: http://pastie.caboo.se/23100.txt
Maybe Sake should print out a helpful error message when something like this happens?
-
Zach Inglis August 19th, 2007 @ 12:23 AM
Thanks. That fixed it nicely.
As for error messages, Maybe :p
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป