limelight and rspec crash?

16 views
Skip to first unread message

banseljaj

unread,
Feb 16, 2012, 10:38:36 AM2/16/12
to limelight
Hi guys.
I'm trying to develop a limelight app using JRuby 1.6.6 and limelight
0.5.5. I tried running the tutorial. It works, I mean limelight works.
But when i run rspec, It crashes. I'm using RSpe

banseljaj

unread,
Feb 16, 2012, 10:40:51 AM2/16/12
to limelight
Hi guys.
I'm trying to develop a limelight app using JRuby 1.6.6 and limelight
0.5.5. I tried running the tutorial. It works, I mean limelight works.
But when i run rspec, It crashes. I'm using RSpec 2.8.0.

https://gist.github.com/1829547
^ This is the error trace.

Any help?

Micah Martin

unread,
Feb 16, 2012, 11:03:59 AM2/16/12
to limelig...@googlegroups.com
As Headius mentioned on your gist, in RSpec 2.X you need to require 'rspec'.

You should know that the spec_helper that comes with limelight 0.5.5 only works RSpec 1.X. Although, based on your stack trace it doesn't look like you're using the limelight spec_helper.

The pending release of limelight will be compatible with RSpec 2.X.

Micah

banseljaj

unread,
Feb 16, 2012, 11:07:34 AM2/16/12
to limelight
You should see the recond trace. It is the one after changing the
"spec" to "rspec".

Micah Martin

unread,
Feb 16, 2012, 12:03:16 PM2/16/12
to limelig...@googlegroups.com
Yup. I see it. So this is using limelight's spec_helper which only works with RSpec 1.X.

Micah

banseljaj

unread,
Feb 16, 2012, 12:26:07 PM2/16/12
to limelight
A temporary fix would be to install rspec 1.x?
Thanks

Micah Martin

unread,
Feb 16, 2012, 12:53:30 PM2/16/12
to limelig...@googlegroups.com
Yep. That would do the trick.

Micah

Reply all
Reply to author
Forward
0 new messages