
Fix setup tasks
Reported by Chad Woolley | March 23rd, 2009 @ 09:47 AM
This is OSX. It fails repeatedly with missing dependencies (rake, thor, sinatra authorization). This is even though I have run rake test:install_dependencies.
I can provide details if you want, but wondering if this is maintained.
Comments and changes to this ticket
-
Simon Rozet March 23rd, 2009 @ 05:54 PM
- Milestone cleared.
- State changed from new to resolved
- Assigned user changed from ronin-278 (at lighthouseapp) to Simon Rozet
This is indeed a bug. I'll update the Rakefile to install dependencies using the gemspec as a source. Thanks for the report.
-
Simon Rozet March 23rd, 2009 @ 05:55 PM
- State changed from resolved to open
Woops, I meant to open this, not resolve it.
-
Simon Rozet March 23rd, 2009 @ 07:48 PM
- Tag set to gem, rakefile
Hopefully this is fixed in master. Note: I renamed
test:install_dependencies
to justtest:setup
.Please let me know if that did it for you.
-
Chad Woolley March 23rd, 2009 @ 09:44 PM
bug:
chadmac:integrity woolley$ rake -t -v test:setup (in /Users/woolley/workspace/integrity) Invoke test:setup (first_time) Execute test:setup NOTE: assuming you have gems.github.com in your gem sources rake aborted! wrong argument type Symbol (expected Proc) /Users/woolley/workspace/integrity/Rakefile:45
&: only works in rails, right? :)
-
-
ronin-278 (at lighthouseapp) March 23rd, 2009 @ 10:15 PM
Symbol#to_proc also works on 1.8.7, but we should try to remain compatible with 1.8.6. Thanks for the heads up!
-
Chad Woolley March 24th, 2009 @ 08:14 AM
Had to fix it for launch too. Also, it attempts to (re-)install the gems every time.
I will try to take a shot at fixing this in a nice way.
-
Simon Rozet March 27th, 2009 @ 06:12 PM
- Title changed from rake launch doesn't work on master to Fix setup tasks
-
Simon Rozet March 27th, 2009 @ 07:53 PM
I am not sure how to fix this properly (beside not using Symbol#to_proc)... How are other projects solving this?
-
Chad Woolley March 27th, 2009 @ 07:56 PM
You can use GemInstaller (geminstaller.rubyforge.org, my project). You would have to manually keep the geminstaller.yml file in sync with the gem spec, but other than that it would work fine. After seeing this problem, I'd like to make GemInstaller be able to take a gem spec as a config option to geminstaller, but that is a task for later.
-
ronin-278 (at lighthouseapp) April 5th, 2009 @ 05:11 PM
(from [bfe630acc2b14d4c29f25ff97c0c432a7ceb3f08]) Remove setup tasks
-
Simon Rozet April 5th, 2009 @ 05:15 PM
- State changed from open to resolved
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 ยป
Automated continuous integration server that doesn't suck.
People watching this ticket
Referenced by
-
129 Fix launch and setup tasks Duplicate of #126
-
126 Fix setup tasks [#126] http://github.com/foca/integrity...