Yan Aung created JRUBY-6531:
-------------------------------

             Summary: JRuby 1.6.7 with Cucumber throwing error
                 Key: JRUBY-6531
                 URL: https://jira.codehaus.org/browse/JRUBY-6531
             Project: JRuby
          Issue Type: Bug
         Environment: jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (Java 
HotSpot(TM) Client VM 1.6.0_31) [Windows 7-x86-java]
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
            Reporter: Yan Aung
            Assignee: Thomas E Enebo


Getting the error on:
>bundle exec rake
C:/Users/yaung/.pik/rubies/JRuby-167/bin/jruby -S bundle exec cucumber  --pr
ofile ci
bundler: command not found: cucumber
Install missing gem executables with `bundle install`
rake aborted!

But I have cucumber in the gems lib:
>jruby -S bundle show cucumber
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/cucumber-1.1.4


>jruby -S bundle console
NameError: uninitialized constant YARD
  const_missing at org/jruby/RubyModule.java:2642
  const_missing at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36
  const_missing at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/rspec-core-2.7.1/lib/rspec/core/backward_compatibility.rb:23
         (root) at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/yard-cucumber-2.1.7/lib/yard/code_objects/cucumber/base.rb:2
        require at org/jruby/RubyKernel.java:1033
         (root) at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/yard-cucumber-2.1.7/lib/yard/code_objects/cucumber/base.rb:10
        require at org/jruby/RubyKernel.java:1033
        require at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/yard-cucumber-2.1.7/lib/yard-cucumber.rb:68
           each at org/jruby/RubyArray.java:1615
        require at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/runtime.rb:66
           each at org/jruby/RubyArray.java:1615
        require at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/runtime.rb:55
        require at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler.rb:122
        console at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/cli.rb:430
           send at org/jruby/RubyKernel.java:2076
            run at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/vendor/thor/task.rb:21
    invoke_task at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/vendor/thor/invocation.rb:118
       dispatch at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/vendor/thor.rb:263
          start at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/vendor/thor/base.rb:386
         (root) at 
C:/Users/yaung/.pik/rubies/JRuby-167/lib/ruby/gems/1.8/gems/bundler-1.0.22/bin/bundle:13
           load at org/jruby/RubyKernel.java:1058
         (root) at C:/Users/yaung/.pik/rubies/JRuby-167/bin/bundle:19

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to