Recent changes cause gem statement to fail
Hello, I just grabbed the latest from trunk (r831), and the following section from my rakefile causes the macruby process to hang. It seems to be the gem call that is causing the problem. Commenting that line out allows execution to proceed. I will keep investigating, but wanted to report this early. I would really like to see this fixed before 0.4 is released. Thanks, -Scott ENV['GEM_PATH']=File.expand_path("#{File.dirname(__FILE__)}/vendor/ gems") require "rubygems" Gem.clear_paths gem_paths = [ File.expand_path("#{File.dirname(__FILE__)}/vendor/gems") ] Gem.send :set_paths, gem_paths.join(":") gem 'cucumber'
Hello, The breaking change was introduced in r829. -Scott On Mar 2, 2009, at 10:00 PM, M. Scott Ford wrote:
Hello,
I just grabbed the latest from trunk (r831), and the following section from my rakefile causes the macruby process to hang. It seems to be the gem call that is causing the problem. Commenting that line out allows execution to proceed. I will keep investigating, but wanted to report this early. I would really like to see this fixed before 0.4 is released.
Thanks, -Scott
ENV['GEM_PATH']=File.expand_path("#{File.dirname(__FILE__)}/vendor/ gems") require "rubygems" Gem.clear_paths gem_paths = [ File.expand_path("#{File.dirname(__FILE__)}/vendor/gems") ] Gem.send :set_paths, gem_paths.join(":")
gem 'cucumber'
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Scott, We merged in the lib directory from 1.9.1_0 tag (there were over 250 changes since last time Laurent merged). We are now going through and validating things (including RubyGems). For the next few days trunk will (thus) be a tad unstable. Best, Rich On Mar 2, 2009, at 10:00 PM, M. Scott Ford wrote:
Hello,
I just grabbed the latest from trunk (r831), and the following section from my rakefile causes the macruby process to hang. It seems to be the gem call that is causing the problem. Commenting that line out allows execution to proceed. I will keep investigating, but wanted to report this early. I would really like to see this fixed before 0.4 is released.
Thanks, -Scott
ENV['GEM_PATH']=File.expand_path("#{File.dirname(__FILE__)}/vendor/ gems") require "rubygems" Gem.clear_paths gem_paths = [ File.expand_path("#{File.dirname(__FILE__)}/vendor/gems") ] Gem.send :set_paths, gem_paths.join(":")
gem 'cucumber'
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Scott / Rich, I fixed a few things in trunk and now the new stdlib should be working as before. RubyGems should even be better than before, I was able to install a few basic gems and require them from macirb (but not able to install a gem with a dependency, though). I tested miniunit and rake. I also verified that all samples are working as before and that our tests are running too. So 0.4 is not far now! Laurent On Mar 2, 2009, at 7:55 PM, Richard Kilmer wrote:
Scott,
We merged in the lib directory from 1.9.1_0 tag (there were over 250 changes since last time Laurent merged). We are now going through and validating things (including RubyGems).
For the next few days trunk will (thus) be a tad unstable.
Best,
Rich
On Mar 2, 2009, at 10:00 PM, M. Scott Ford wrote:
Hello,
I just grabbed the latest from trunk (r831), and the following section from my rakefile causes the macruby process to hang. It seems to be the gem call that is causing the problem. Commenting that line out allows execution to proceed. I will keep investigating, but wanted to report this early. I would really like to see this fixed before 0.4 is released.
Thanks, -Scott
ENV['GEM_PATH']=File.expand_path("#{File.dirname(__FILE__)}/vendor/ gems") require "rubygems" Gem.clear_paths gem_paths = [ File.expand_path("#{File.dirname(__FILE__)}/vendor/gems") ] Gem.send :set_paths, gem_paths.join(":")
gem 'cucumber'
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Laurent Sansonetti
-
M. Scott Ford
-
Richard Kilmer