ruby - Rails Script Segmentation Fault with RVM -


i getting segmentation fault. should which ruby return /usr/local/bin?

maletor$ rails generate mailer contactmailer     /users/maletor/.rvm/gems/ruby-1.9.2-p0/gems/mysql2-0.2.4/lib/mysql2/mysql2.bundle: [bug] **segmentation fault**     ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]  abort trap  maletor$ rails /usr/bin/rails  maletor$ gem env rubygems environment:   - rubygems version: 1.3.7   - ruby version: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-darwin10.4.0]   - installation directory: /users/maletor/.rvm/gems/ruby-1.9.2-p0   - ruby executable: /users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin/ruby   - executable directory: /users/maletor/.rvm/gems/ruby-1.9.2-p0/bin   - rubygems platforms:     - ruby     - x86_64-darwin-10   - gem paths:      - /users/maletor/.rvm/gems/ruby-1.9.2-p0      - /users/maletor/.rvm/gems/ruby-1.9.2-p0@global   - gem configuration:      - :update_sources => true      - :verbose => false      - :benchmark => false      - :backtrace => false      - :bulk_threshold => 1000      - "gem" => "-n/usr/local/bin"   - remote sources:      - http://rubygems.org/  maletor$ echo $path /users/maletor/.rvm/gems/ruby-1.9.2-p0/bin:/users/maletor/.rvm/gems/ruby-1.9.2-p0@global/bin:/users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin:/users/maletor/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/x11/bin  maletor$ gem /users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin/gem  maletor$ ls ~/.rvm/rubies/ruby-1.9.2-p0/bin/ erb gem irb rake    rdoc    ri  ruby    testrb  maletor$ rails -v rails 3.0.0  maletor$ rails /usr/bin/rails 

there's problem rvm installation. which should return

/users/maletor/.rvm/rubies/ruby-1.9.2-p0/bin/ruby 

upgrade latest rvm installation. there bug in 1.0 release "shell path caching".

$ rvm head $ rvm reload $ rvm repair $ rvm use 1.9.2 

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -