[MacRuby] #806: bundler does not work due to missing Gem::Specification::MatchPlatform
#806: bundler does not work due to missing Gem::Specification::MatchPlatform ------------------------------+--------------------------------------------- Reporter: macruby@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ------------------------------+--------------------------------------------- $ bundle install /Users/aman/.rvm/gems/macruby-0.6/gems/bundler-1.0.0.beta.9/bin/bundle:4:in `<main>': uninitialized constant Gem::Specification::MatchPlatform (NameError) -- Ticket URL: <http://www.macruby.org/trac/ticket/806> MacRuby <http://macruby.org/>
#806: bundler does not work due to missing Gem::Specification::MatchPlatform ------------------------------+--------------------------------------------- Reporter: macruby@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ------------------------------+--------------------------------------------- Comment(by lsansonetti@…): I tried bundler on trunk, it fails inside the "thor" library where it assumes that #caller[1] returns something. I believe it's the same problem that broke rails app generation introduced after merging the interpreter change. -- Ticket URL: <http://www.macruby.org/trac/ticket/806#comment:1> MacRuby <http://macruby.org/>
#806: bundler does not work due to missing Gem::Specification::MatchPlatform ------------------------------+--------------------------------------------- Reporter: macruby@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ------------------------------+--------------------------------------------- Comment(by lsansonetti@…): Working around the #caller bug, it seems to load properly, at least. {{{ $ VM_DISABLE_INTERPRETER=1 VM_DISABLE_RBO=1 DYLD_LIBRARY_PATH=. ./macruby /usr/bin/bundle --help Tasks: bundle check # Checks if the dependencies listed in Gemfile are satisfied by currently installed gems bundle console [GROUP] # Opens an IRB session with the bundle pre- loaded bundle exec # Run the command in context of the bundle bundle help [TASK] # Describe available tasks or one specific task bundle init # Generates a Gemfile into the current working directory bundle install # Install the current environment to the system bundle lock # Locks the bundle to the current set of dependencies, including all child dependencies. bundle open GEM # Opens the source directory of the given bundled gem bundle package # Locks and then caches all of the gems into vendor/cache bundle show [GEM] # Shows all gems that are part of the bundle, or the path to a given gem bundle unlock # Unlock the bundle. This allows gem versions to be changed. bundle version # Prints the bundler's version information $ VM_DISABLE_INTERPRETER=1 VM_DISABLE_RBO=1 DYLD_LIBRARY_PATH=. ./macruby /usr/bin/bundle install Could not locate Gemfile }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/806#comment:2> MacRuby <http://macruby.org/>
#806: bundler does not work due to missing Gem::Specification::MatchPlatform ------------------------------+--------------------------------------------- Reporter: macruby@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ------------------------------+--------------------------------------------- Comment(by lsansonetti@…): I wrote a simple gemfile {{{ source "http://rubygems.org" gem "sinatra" }}} Then I ran the "check" and "install" bundler commands in the same directory, it worked without exception. (I had to specify VM_DISABLE_RBO=1 to work around the caller problem.) If you could paste your gemfile here, I will give it a try. We need to reduce the constant lookup problem. -- Ticket URL: <http://www.macruby.org/trac/ticket/806#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby