Hi
Incase anyone is having trouble with rake 0.8.1 and vlad:
Installing rake 0.7.3 works
Successfully installed rake-0.8.1
1 gem installed
Installing ri documentation for rake-0.8.1…
Installing RDoc documentation for rake-0.8.1…
blah@luggage:~/workspace/blahproject$ rake vlad:setup
RAILS_ENV=production
–trace
(in /home/blah/workspace/blahproject)
** Invoke vlad:setup (first_time)
** Execute vlad:setup
** Invoke vlad:setup_app (first_time)
rake aborted!
wrong number of arguments (1 for 0)
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
invoke_with_call_chain’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
invoke_with_call_chain’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in invoke' /usr/lib/ruby/gems/1.8/gems/vlad-1.1.0/lib/vlad/core.rb:36 /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
call’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
each’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in execute' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
invoke_with_call_chain’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
invoke_with_call_chain’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in
invoke_task’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
each’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in top_level' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in
run’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in
run’
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
/usr/bin/rake:19:in `load’
/usr/bin/rake:19
blah@luggage:~/workspace/blahproject$ sudo gem install rake -v 0.7.3
Successfully installed rake-0.7.3
1 gem installed
Installing ri documentation for rake-0.7.3…
Installing RDoc documentation for rake-0.7.3…
blah@luggage:~/workspace/blahproject$ gem list | grep rake
rake (0.8.1, 0.7.3)
blah@luggage:~/workspace/blahproject$ sudo gem uninstall rake -v 0.8.1
Successfully uninstalled rake-0.8.1
blah@luggage:~/workspace/blahproject$ rake vlad:setup
RAILS_ENV=production
–trace
(in /home/blah/workspace/blahproject)
** Invoke vlad:setup (first_time)
** Execute vlad:setup
** Invoke vlad:setup_app (first_time)
** Execute vlad:setup_app
and success…
I was using ruby 1.8.6 and rails 2.0.2
Regards