Hello Patrick, This is off topic, so feel to ignore this: I noticed that you use the standard Apple installed Ruby. On a development system, you might want to try having a bin directory in your home directory with different versions of Ruby, JRuby, and Ruby1.9 and set up bash "alias" commands use_ruby, use_jruby, and use_ruby1.9 to set PATH, etc. as appropriate for what you are working on.
When you build from source, just use --prefix=... to set the target locations. I think that this really simplifies things. Sometimes it is even good to have everything (application, Ruby, PostgreSQL, nginx, memcached, etc.) for a web portal's development installed as subdirectories in one main directory. Again, have a bash alias to set up the environment variables for each project. When you build everything from source, keep the separate source directories for Ruby, nginx, etc. around for reference and for rebuilding if you update the source for security patches, etc. Total control :-) -Mark On Nov 8, 6:53 pm, pgib <[EMAIL PROTECTED]> wrote: > I was running the final RC of Merb 1.0 just fine. Today I went to > install the 1.0 release, and when I do a "sudo gem install merb", it's > not succeeding because of nokogiri-1.0.3: > > Bulk updating Gem source index for:http://gems.rubyforge.org/ > Bulk updating Gem source index for:http://gems.rubyforge.org/ > Building native extensions. This could take a while... > ERROR: Error installing merb: > ERROR: Failed to build gem native extension. > > rake RUBYARCHDIR=/Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3/lib > RUBYLIBDIR=/Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3/lib > (in /Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3) > rake aborted! > undefined method `add_development_dependency' for #<Gem::Specification: > 0x13e7884> > /Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3/rakefile:20:in `new' > (See full trace by running task with --trace) > > Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ > nokogiri-1.0.3 for inspection. > Results logged to /Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3/ > gem_make.out > > When I do a manual build with --trace of nokogiri, here's what I see: > > (in /Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3) > rake aborted! > undefined method `add_development_dependency' for #<Gem::Specification: > 0x115bd2c> > /Library/Ruby/Site/1.8/rubygems/specification.rb:628:in > `method_missing' > /Library/Ruby/Gems/1.8/gems/hoe-1.8.2/lib/hoe.rb:506:in `define_tasks' > /Library/Ruby/Gems/1.8/gems/hoe-1.8.2/lib/hoe.rb:505:in `each' > /Library/Ruby/Gems/1.8/gems/hoe-1.8.2/lib/hoe.rb:505:in `define_tasks' > /Library/Ruby/Site/1.8/rubygems/specification.rb:539:in `initialize' > /Library/Ruby/Gems/1.8/gems/hoe-1.8.2/lib/hoe.rb:485:in `new' > /Library/Ruby/Gems/1.8/gems/hoe-1.8.2/lib/hoe.rb:485:in `define_tasks' > /Library/Ruby/Gems/1.8/gems/hoe-1.8.2/lib/hoe.rb:427:in `initialize' > /Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3/rakefile:20:in `new' > /Library/Ruby/Gems/1.8/gems/nokogiri-1.0.3/rakefile:20 > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in `load' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2349:in > `raw_load_rakefile' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1985:in > `load_rakefile' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1984:in > `load_rakefile' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1969:in `run' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' > /Library/Ruby/Gems/1.8/gems/rake-0.8.3/bin/rake:31 > /usr/bin/rake:19:in `load' > /usr/bin/rake:19 > > Has anyone else experienced this? I'm on Mac OS X 10.5.5 on a Intel > Core Duo (not Core 2 Duo) iMac. > > Thanks, > > Patrick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
