[macruby-changes] [2535] MacRuby/trunk/lib/rubygems/installer.rb

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 10 01:35:55 PDT 2009


Revision: 2535
          http://trac.macosforge.org/projects/ruby/changeset/2535
Author:   lsansonetti at apple.com
Date:     2009-09-10 01:35:53 -0700 (Thu, 10 Sep 2009)
Log Message:
-----------
exit with an appropriate and temporary message when trying to install a gem that contains a C extension

Modified Paths:
--------------
    MacRuby/trunk/lib/rubygems/installer.rb

Modified: MacRuby/trunk/lib/rubygems/installer.rb
===================================================================
--- MacRuby/trunk/lib/rubygems/installer.rb	2009-09-10 08:25:15 UTC (rev 2534)
+++ MacRuby/trunk/lib/rubygems/installer.rb	2009-09-10 08:35:53 UTC (rev 2535)
@@ -454,6 +454,7 @@
 
   def build_extensions
     return if @spec.extensions.empty?
+    raise "MacRuby does not support native extensions yet. Be patient :-)"
     say "Building native extensions.  This could take a while..."
     start_dir = Dir.pwd
     dest_path = File.join @gem_dir, @spec.require_paths.first
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090910/337e1f0d/attachment-0001.html>


More information about the macruby-changes mailing list