Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

rspec-core's cukes fail against jruby #3

Closed
dchelimsky opened this Issue Mar 7, 2010 · 4 comments

Comments

Projects
None yet
4 participants
Owner

dchelimsky commented Mar 7, 2010

rspec-2 seems to work w/ jruby, but there is some sort of load path problem running rspec-core-2's cukes against jruby (using rvm):

$ ruby -S cucumber features/command_line/example_name_option.feature:44
Using the default profile...

...

      expected: /1\ example,\ 0\ failures/,
           got: "\n----------------------------------------------------------------------\n/Users/dchelimsky/projects/rspec2/repos/rspec-core/lib/rspec/core.rb:46:in `require': no such file to load -- rspec/expectations (LoadError)\n\tfrom /Users/dchelimsky/projects/rspec2/repos/rspec-core/lib/rspec/core.rb:46\n\tfrom /Users/dchelimsky/projects/rspec2/repos/rspec-core/lib/rspec/core.rb:1:in `require'\n\tfrom /Users/dchelimsky/projects/rspec2/repos/rspec-core/lib/rspec/autorun.rb:1\n\tfrom /Users/dchelimsky/projects/rspec2/repos/rspec-core/lib/rspec/autorun.rb:2:in `require'\n\tfrom /Users/dchelimsky/projects/rspec2/repos/rspec-core/tmp/aruba/../../bin/rspec:2\n" (using =~) (Rspec::Expectations::ExpectationNotMetError)
      features/command_line/example_name_option.feature:46:in `Then I should see "1 example, 0 failures"'
Contributor

justinko commented Jun 30, 2010

Cannot test this -- linecache 0.43 won't install with jruby 1.5.1

rdp commented Jul 20, 2010

doesn't jruby come with linecache already installed or built in?

Contributor

spicycode commented Nov 28, 2010

This seems to still be an issue

Owner

dchelimsky commented Mar 24, 2011

Don't run rr spec in jruby (failure coming from rr itself).

@dchelimsky dchelimsky closed this Mar 24, 2011

@yelled3 yelled3 pushed a commit to yelled3/rspec-core that referenced this issue Mar 11, 2014

Adam Farhi @JonRowe PR notes #3 a6a394e

@yelled3 yelled3 pushed a commit to yelled3/rspec-core that referenced this issue Mar 11, 2014

Adam Farhi @JonRowe PR notes #3.b 3a567cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment