(thanks to the admins for fixing the code formatting :-) )Hi there! I run into the same problem.. I did “gem install update” and then rake stopped functioning. I actually got some compile errors from the gem update process. Can it be related to that? Then I tried to install a brand new Bitnami stack but it always threw installation exceptions (might do another post about this too – i’ll give it another try this morning though) ..Now my rake file looks like this:

I’m glad it helped you. I was trying to figure out what could be failing there. You can avoid those problems in the future by using the option -E while updating and installing your gems, it will add the correct shebang by itself. For example: