I've been learning about gems lately, and one error I get is:
WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and
/usr/bin aren't both writable.
WARNING: You don't have /Users/Alex/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
ERROR: Error installing rubygame:
ffi requires rake (>= 0.8.7, runtime)
I understand that UNIX (bash, more specifically) uses this .bash_profile file to know where to look for executables when I run a script/command, and that it does so "in order".
My question is: Can I just keep tacking directories on the end as I need them, and does doing this open me up to... anything?
(for what it's worth, I re-ran the command as "sudo gem..." and it still said "ERROR: Error installing rubygame:
ffi requires rake (>= 0.8.7, runtime)
)