This is what I get (MacOS) after "upgrading" from 0.6.2 to 0.7
Installing {"rake"=>"0.8.7"} via gem... $ gem install
'{"rake"=>"0.8.7"}'
ERROR: Could not find a valid gem '{"rake"=>"0.8.7"}' (>= 0) in
any repository
Also it seems some things have changed, like the helpers were
deprecated... any docs on that?
I am a little bit unhappy right now... all my installers stopped
working :(
Ben Hoskings
27 December 2010 9:47 AM
On 27 December 2010 02:45, Piotr Zolnierek <pzoln...@gmail.com> wrote:
This is what I get (MacOS) after "upgrading" from 0.6.2 to 0.7
� � �Installing {"rake"=>"0.8.7"} via gem... � � �$ gem install
'{"rake"=>"0.8.7"}'
� � �ERROR: �Could not find a valid gem '{"rake"=>"0.8.7"}' (>= 0) in
any repository
Yeah, the way versions are specified has changed. I didn't realise anyone was using the old way since I never really did :)
Instead of
�� �installs 'rake' => '0.8.7'
you should use�� �installs 'rake 0.8.7'
The reason is that it's a lot nicer to specify more precise operators now, for example:
�� �installs 'bundler ~> 1.0.0'
Also, the change allowed me to improve the way #accepts_list_for and friends work.
Also it seems some things have changed, like the helpers were
deprecated... any docs on that?
Yep that changed. The docs for that are the ones you saw, that explain how to upgrade your deps when a helper is detected. Helpers were only necessary because those methods were defined on DepDefiner but run on DepRunner, so I needed something to straddle the gap.�DepDefiner and DepRunner have been merged into a single class now, DepContext, so helpers aren't required anymore.�
I am a little bit unhappy right now... all my installers stopped
working :(
Sorry about that. I intended to write all this up today�maybe I should have waited until the end of today to push the update. But then I've been running it on prod machines all week so it felt ready to me.
Any problems you're having will have simple fixes. If you send me the debug logs I'll sort you out.
Ben
--
To post, email babush...@googlegroups.com
To unsubscribe, email babushka_app...@googlegroups.com
~
http://babushka.me
http://github.com/benhoskings/babushka
http://groups.google.com/group/babushka_app
Piotr Zolnierek
27 December 2010 1:45 AM
This is what I get (MacOS) after "upgrading" from 0.6.2 to 0.7
Installing {"rake"=>"0.8.7"} via gem... $ gem install
'{"rake"=>"0.8.7"}'
ERROR: Could not find a valid gem '{"rake"=>"0.8.7"}' (>= 0) in
any repository
Also it seems some things have changed, like the helpers were
deprecated... any docs on that?
As I've brought up before, I think it would be nice to have a declarative way to specify what Babs version a set of deps are known to run against. This is especially useful for project-specific deps so that if you pull down an old project and need to get it set up (either locally or on a new prod machine) you don't need to spend time fiddling around trying to find which version they worked with or having to rewrite them. Given the fast evolution of babushka (which is, of course, an otherwise fantastic thing), I think this is even more useful and necessary.
I updated to 0.8.0 but it still breaks (Ubuntu 10.10 with rvm), looks like there are extra quotes
Works! Thanks!BTW have you thought about distributing Babushka as gem? That would resolve the versioning trouble
True, but a lot of people including myself use rvm where you get rubygems for "free".Which reminds me... Can you remove the dependency on the managed ruby from gems etc? Having ruby and rubygems installed (via rvm) should suffice.
True, but a lot of people including myself use rvm where you get rubygems for "free".
Well... This is a chicken and egg problem ;)You can install rvm in the bootstrap. Thats what I do.. Then install ruby via rvm then babushka.You can have a look at http://github.com/pzol/platform-install
But running babs without any ruby (as on a stock ubuntu) is impossible.
I dont insist on a gem ;) but I use babs for unattended server setup and emergency repairs so I need to be sure it works every time the way I expect... Have you thought about versioning via a git tag or something like that?