Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Rpec 2.5.2(is it possible t run Rspec in Eclipse)
Rpec 2.5.2 [message #734858] Mon, 10 October 2011 08:19 Go to next message
anna-lena.sundin is currently offline anna-lena.sundinFriend
Messages: 1
Registered: October 2011
Junior Member
Hi all,
I'm learning Ruby and Rspec.

I use Eclipse 3.6.1 (Helios) and DLTK.
I can run Rubyscripts from Eclipse, but not RSpec.

I get following error:
dltk-rspec-runner.rb:12:in `require': no such file to load -- spec (LoadError)

Do I have to configure Eclipse?
Or is not Rspec supported?

Re: Rpec 2.5.2 [message #1673695 is a reply to message #734858] Sat, 14 March 2015 12:28 Go to previous message
Steve Swett is currently offline Steve SwettFriend
Messages: 1
Registered: March 2015
Junior Member
I'm having the same problem. I'm using Eclipse Luna, Ruby 2.1 and rspec 3.2.0. The "rspec spec" command works fine outside of Eclipse. But when I right click my spec file (such as "book_spec.rb") in Eclipse and choose Run As Ruby Test, I get the following:

C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- spec (LoadError)
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from C:/eclipse/configuration/org.eclipse.osgi/1519/0/.cp/testing/dltk-rspec-runner.rb:12:in `rescue in <main>'
from C:/eclipse/configuration/org.eclipse.osgi/1519/0/.cp/testing/dltk-rspec-runner.rb:3:in `<main>'

I googled, but didn't come up with a solution. I'm just trying to do a simple Ruby rspec test -- not using Rails. Attempting to follow rspec intro here: .

I'm using DLTK version
Previous Topic:Indexer for multiple languages
Next Topic:DLTK Multiple Language Initiative
Goto Forum:

Current Time: Thu Oct 08 18:19:58 GMT 2015

Powered by FUDForum. Page generated in 0.08776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software