On 29/09/2009, at 10:02 PM, Dr Nic Williams wrote:
> Except it wanted to install ruby from macports.
>
> Hmm, not sure if I'm ready for that level of commitment. :/
Fair call :)
My approach is to install ruby and rubygems myself, because I don't
like to modify anything provided by the system. Until recently the
only alternatives were Macports and building from source.
Homebrew is looking like an awesome alternative, and that's what I'm
going to be concentrating on from now on. Babushka will use Homebrew
instead of Macports if you change 'MacportsHelper' to 'BrewHelper' in
PkgHelper.for_system in /usr/local/babushka/lib/babushka/pkg_helper.rb.
But, Homebrew support is a bit broken at the moment, so you'd need to
do a little hacking. :)
I choose Macports because although it's slow, it's clean (all in /opt/
local) and easy (unless there are package upgrading conflicts, which
it really sucks at resolving, it generally just works).
If you'd rather use the system-supplied ruby, you could just modify
the ruby dep in
/usr/local/babushka/deps/ruby\ and\ rubygems.rb
to check for the existence of any ruby:
dep 'ruby' do
met? { which 'ruby' }
end
- 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---