Seems like with the new bundler support on Merb, we're very close to
being able to run a merb installation with no Rubygems whatsoever. I'm
currently working on seeing if I can get Merb working when
disable_rubygems is specified in the Gemfile.
The first question and most important is... why? On Ruby 1.8.7 / Ruby
Gems 1.3.5 it could potentially save about 100-200 milliseconds in
load time on your app (time ruby -e "require 'rubygems'"). On Ruby
1.9 however, rubygems is already built in, so I'm not sure if this
problem would even still exists. Honestly, I don't really know if this
effort is even worth it, so your feedback would be very helpful.
Should merb be allowed to run without rubygems?
Bundler folks (wycats & clerche), would you be open to a tweak in
bundler so I could require just 'bundler/environment' in order to do
Bundler::Environment without necessarily requiring any rubygems
classes?
Also, does anyone know if there a non RubyGem way to replace this (in
bootloader.rb):
def self.set_encoding
unless Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("1.9")
$KCODE = 'UTF8' if $KCODE == 'NONE' || $KCODE.blank?
end
nil
end
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---