Hi.

Having installed Ruby 1.9 from source, I decided to have a look at
Rails3 aka Rails edge from git. Therefore, I followed wycats
instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app-
running-on-edge), but keep getting an error related to Bundler:

$ sudo gem bundle --backtrace
ERROR:  While executing gem ... (NoMethodError)
    undefined method `path' for #<Bundler::Dsl:0x9583f20>
        /opt/src/rails/Gemfile:1:in `evaluate'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
dsl.rb:9:in `instance_eval'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
dsl.rb:9:in `evaluate'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
bundle.rb:33:in `initialize'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
bundle.rb:14:in `new'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
bundle.rb:14:in `load'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
cli.rb:36:in `initialize'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
cli.rb:6:in `new'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
cli.rb:6:in `run'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/bundler-0.8.1/lib/bundler/
commands/bundle_command.rb:68:in `execute'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/rubygems-update-1.3.5/lib/
rubygems/command.rb:257:in `invoke'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/rubygems-update-1.3.5/lib/
rubygems/command_manager.rb:132:in `process_args'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/rubygems-update-1.3.5/lib/
rubygems/command_manager.rb:102:in `run'
        /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/rubygems-update-1.3.5/lib/
rubygems/gem_runner.rb:58:in `run'
        /usr/local/bin/gem:21:in `<main>'

Ruby's fine:

$ ruby -v
ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]

Rubygem configuration is that of a mint installation of Ruby 1.9
(gemcutter gem is installed):

$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.5
  - RUBY VERSION: 1.9.1 (2009-12-07 patchlevel 376) [i686-linux]
  - INSTALLATION DIRECTORY: /opt/ruby1.9/lib/ruby1.9/gems/1.9.1
  - RUBYGEMS PREFIX: /opt/ruby1.9/lib/ruby1.9/gems/1.9.1/gems/rubygems-
update-1.3.5
  - RUBY EXECUTABLE: /opt/ruby1.9/bin/ruby1.9
  - EXECUTABLE DIRECTORY: /opt/ruby1.9/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /opt/ruby1.9/lib/ruby1.9/gems/1.9.1
     - /home/jd/.gem/ruby/1.9.1
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "install" => "-B 10"
     - :sources => ["http://gems.rubyforge.org/";, "http://
gems.github.com", "http://gems.rubyforge.org/";]
     - "update" => "-B 10"
  - REMOTE SOURCES:
     - http://gems.rubyforge.org/
     - http://gems.github.com
     - http://gems.rubyforge.org/

Does anyone has a hint on this?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to