Looks cool! I'll have to look into it. Andrew
On Tue, Jan 25, 2011 at 2:31 PM, Ben Hoskings <b...@hoskings.net> wrote: > On 24 January 2011 22:41, Andrew Grimm <andrew.j.gr...@gmail.com> wrote: >> >> Is it possible to make rubygem installation a smoother process? >> >> I'll spare you the boring details of trying to get perftools.rb >> installed for ruby 1.9 on our Koala today, except to link to this >> awesome commit message: "Install ruby_core_source when needed, instead >> of yelling at the user" >> >> https://github.com/tmm1/perftools.rb/commit/1ac8143bdc565a1bd8d23d4ffefcd85e3ec6c5d1 >> >> However, I'm wondering: the first time you install a gem, is it merely >> a matter of >> >> while true >> break if package_installs # You've earned a break >> google(error_message) >> find_missing_dependencies >> end >> >> Or is there a better way? > > Shameless plug: babushka can connect multiple packaging systems. Something > like > dep 'your project' do > requires 'pg.gem', ... > end > dep 'pg.gem' do > requires 'postgresql.managed' > end > dep 'postgresql.managed' do > provides 'psql' > end > Then, > babushka 'your project' > would ensure the postgres gem and postgres itself are installed, as well as > rubygems and a valid ruby configuration. On OS X it will also set up > homebrew to install postgres if you don't have it already, and on Linux it > will use apt (or yum), depending on the system. > —Ben > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to rails-oceania@googlegroups.com. > To unsubscribe from this group, send email to > rails-oceania+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.