After upgrading to Snow Leopard, I found my rails and mysql installs to be completely hosed, so I uninstalled ruby, mysql, and rubygems and reinstalled them from these instructions: http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/
Here's where things are installed now: $ which ruby /usr/local/bin/ruby $ which rails /usr/local/bin/rails $ which gem /usr/local/bin/gem $ which rake /usr/bin/rake $ which mysql /usr/local/mysql/bin/mysql My problem is that if I try to run rake db:migrate (or anything with rake), I get this error: $ rake db:migrate -bash: /usr/bin/rake: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory My .bash_profile is a mess due to many hours of unsuccessful troubleshooting: $ echo $PATH /~/.gem:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/lib/ruby/gems/1.8/bin/:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin:/opt/local/sbin:/Users/devin/.gem/ruby/1.8/bin How do I reset my profile to get rake (and everything else) working properly. -- Posted via http://www.ruby-forum.com/.
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

