Note that there are some explanatory texts on larger screens.

plurals
  1. PORails Script Segmentation Fault with RVM
    primarykey
    data
    text
    <p>I am getting a segmentation fault. Should <code>which ruby</code> return /usr/local/bin? </p> <pre><code>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$ which 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 =&gt; true - :verbose =&gt; false - :benchmark =&gt; false - :backtrace =&gt; false - :bulk_threshold =&gt; 1000 - "gem" =&gt; "-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$ which 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$ which rails /usr/bin/rails </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload