OK, here's the story. I'm trying to install mephisto. I've followed instructions and I used to have rails 2.1 environment. I had to re-install the entire Ruby environment to get it to 2.2 because I couldn't do a gem update --system
See the attached code. After I run rake db:bootstrap, heaps of errors come up. Not sure why.
test:mephisto king$ sudo gem install liquid
Successfully installed liquid-2.0.0
1 gem installed
Installing ri documentation for liquid-2.0.0...
Installing RDoc documentation for liquid-2.0.0...
test:mephisto king$ rake db:bootstrap
(in /Users/king/rails/mephisto)
mkdir -p /Users/king/rails/mephisto/log
can't activate liquid (= 2.0.0, runtime) for [], already activated liquid-1.9.0 for []
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:280:in `activate'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in `require'
/Users/king/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
/Users/king/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/king/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/rails/gem_dependency.rb:94:in `load'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/initializer.rb:281:in `load_gems'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/initializer.rb:281:in `each'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/initializer.rb:281:in `load_gems'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/initializer.rb:164:in `process'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run'
/Users/king/rails/mephisto/config/environment.rb:37
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/Users/king/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
/Users/king/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
/Users/king/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
/Users/king/.gem/ruby/1.8/gems/rails-2.2.2/lib/tasks/misc.rake:3
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Users/king/rails/mephisto/lib/tasks/bootstrap.rake:11
/Users/king/rails/mephisto/lib/tasks/bootstrap.rake:11:in `each'
/Users/king/rails/mephisto/lib/tasks/bootstrap.rake:11
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `call'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:634:in `execute'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/Users/king/.gem/ruby/1.8/gems/rake-0.8.7/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19
/Users/king/.gem/ruby/1.8/gems/nokogiri-1.3.3/lib/nokogiri/nokogiri.bundle: [BUG] Bus Error
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.8.0]
Abort trap
test:mephisto king$
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60:





by: cminearPosted on 2009-10-12 at 08:47:51ID: 25552228
Based on the exact phrasing of your question, you actually are not having trouble installing the mysql gem; see "Successfully installed mysql-2.8.1" from your output. The actual gem part (providing the ruby library necessary to connect to a mysql database) should have installed just fine. I'm not familiar with where Ruby and its libraries are installed, but in the gems directory, you should find "mysql-2.8.1" present. If you want more proof, try the following simple script. (Replace with your database particulars.)
The errors are from building the RDoc and RI pages. It would appear that some RDoc and RI pages are still built. For example, 'ri Mysql' returns something. I do not see any reported bugs about all the "No definition" pages. So unless you are really curious about why they are happening, I would just ignore them and continue with your work (unless you can better describe why you feel the mysql gem is not installed correctly).
Select allOpen in new window