Skip navigation

Native Ruby Installation (1.8.7) and Ruby on Rails (3.0.9) on Apple OS X Lion Server

1602 Views 1 Reply Latest reply: Jun 22, 2012 9:28 AM by VieL RSS
macosxgeek Level 1 Level 1 (5 points)
Currently Being Moderated
Aug 3, 2011 2:05 AM

Hi all,

 

 

I just bought brand new Lion Server (10.7) from App Store (clean install). I need it for OD standalone master with clients connected.

 

First of all - where is the rest of admin tools? Who hide em? :-) I know that I have Server App but it have only few most importand apps avaible for managing. To manage the rest of services I need to install Admin Tools known from Snow Leopard Server. It's not good. Administration software should be integrated and stable. Installing couple different applications - is not the best solution..

 

OK - but I've managed it - I installed all the necessary services and configured the server. Problem is - that from time to time I'm using the same machine for Ruby on Rails Development. I didn't know that Lion comes with Rails Environment pre-installed. After first instalation of "3-rd party ruby" (I mean - ruby not from Apple) and basic ruby-gems I overwrite system PATH and few pretty importand libraries and frameworks.

 

My question is: Anybody know how can totally re-install Ruby and Rails (binaries, frameworks, configurations, all of them) from the system? I mean from scratch. Brand new installation.

 

I know that rvm (Ruby Version Manager) is very helpfull with Rails installations and configurations - but not in this case.

 

The biggest problem is with Wiki Server - it's using ruby gems for running. And.. Hmm.. It's not running. Wiki logs looks like this:

 

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /private/var/folders/zz/zyxvpxvq6csfxvn_n00000vm00006x

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/defaults.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/exceptions.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/version.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/requirement.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/version.rb

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/dependency.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/requirement.rb

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/gem_path_searcher.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/source_index.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/user_interaction.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/specification.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/version.rb

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/requirement.rb

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/platform.rb

Aug  3 10:57:19: --- last message repeated 2 times ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/builder.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/config_file.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems/custom_require.rb

Aug  3 10:57:19: --- last message repeated 1 time ---

Aug  3 10:57:19 www sandboxd[29962] ([38004]): ruby(38004) deny file-read-metadata /Library/Ruby/Site/1.8/rubygems.rb

Aug  3 10:57:19 www com.apple.collabauthd[38004]: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s.rb:777:in `report_activate_error': Could not find RubyGem thin (>= 0) (Gem::LoadError)

Aug  3 10:57:19 www com.apple.collabauthd[38004]:       from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s.rb:211:in `activate'

Aug  3 10:57:19 www com.apple.collabauthd[38004]:       from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s.rb:1056:in `gem'

Aug  3 10:57:19 www com.apple.collabauthd[38004]:       from /usr/bin/thin:18

Aug  3 10:57:19 www com.apple.launchd[1] (com.apple.collabauthd[38004]): Exited with code: 1

Aug  3 10:57:19 www com.apple.launchd[1] (com.apple.collabauthd): Throttling respawn: Will start in 10 seconds

 

 

Please - help me :-)

 

BTW: about thet Podcast Producer problem and creating new podcasts - mentioned couple hours ago on forums (https://discussions.apple.com/message/15826888#15826888). I have the same problem.

Mac OS X Lion 10.7 Server, Mac OS X (10.7)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.