From: Ast Jay Date: 2010-07-28T02:10:52+09:00 Subject: Where can I find the 'shebang' line? I seem to be having trouble with RVM (after an update to Rails 3 RC), where when I do a: rake db:migrate I am given the error: ------------------------------------------ /Users/me/.rvm/gems/ruby-1.9.2-head/gems/sqlite3-ruby-1.3.1/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] Abort trap ------------------------------------------ rails -v shows: Rails 3.0.0.rc and ruby -v shows: ruby 1.9.2dev (2010-07-24 revision 28749) [x86_64-darwin10.4.0] I noticed via a google search that this works: rvm 1.9.2-head rake db:migrate And they also mentioned to check the 'shebang line' because "My guess would be that the shebang line of the rake / binary is set somehow to 1.8.7." (http://groups.google.com/group/rubyversionmanager/browse_thread/thread/ea9b2fc038d30dad) Any idea where I can find the shebang line, or sort this problem out? Thanks in advance. -- Posted via http://www.ruby-forum.com/.