मैं एक ऐसी ही समस्या थी, bundle exec
के साथ कुछ भी चल रहा है एक विभाजन गलती दिया:
~/mayapp >bundle exec rake -T
/Users/rogermarlow/.rvm/gems/ruby-1.9.3-p327/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]
Abort trap: 6
मैं दो समस्याओं (1) 1.9.3p125 के बजाय 1.9.3p327 और (2) GEM_HOME वातावरण चर इशारा का उपयोग कर किया था अब एक अस्तित्वहीन निर्देशिका के लिए। इसलिए मेरे लिए ठीक था:
~/myapp >rvm list
rvm rubies
=* ruby-1.9.3-p327 [ x86_64 ]
# => - current
# =* - current && default
# * - default
~/myapp >rvm install 1.9.3-p125
**snip**
~/myapp >rvm use 1.9.3-p125
Using /Users/rogermarlow/.rvm/gems/ruby-1.9.3-p125
Running /Users/rogermarlow/.rvm/hooks/after_use_maglev
~/myapp >echo $GEM_HOME
/Users/rogermarlow/.rvm/gems/ruby-1.9.3-p125
~/myapp ># you should check that the directory in $GEM_HOME exists, I had [email protected] which had been removed at some point
~/myapp >bundle install
**snip**
अब कोशिश है कि bundle exec
जो विभाजन दोषयुक्त था ...
~/myapp >bundle exec rake -T
rake about # List versions of all Rails frameworks and the environment
rake assets:clean # Remove compiled assets
rake assets:precompile # Compile all the assets named in config.assets.precompile
**snip**
स्रोत
2013-01-20 11:00:18
क्या आपके पास सही वातावरण है? क्या आपने 'आरवीएम उपयोग 1.9.3' चलाया है? –
'रेल' और 'कौन सा रूबी' का उत्पादन क्या है? –
दोस्तों, मैंने बस आरवीएम संस्करण 1.9.3 को पुनर्स्थापित किया है और अब यह काम कर रहा है ... – user984621