Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Culerity not working with regular JRuby #28

Open
gurdotan opened this issue Sep 18, 2010 · 6 comments
Open

Culerity not working with regular JRuby #28

gurdotan opened this issue Sep 18, 2010 · 6 comments

Comments

@gurdotan
Copy link

I'm trying to get Culerity working with a regular installation of JRuby (installed with apt-get on Ubuntu).

I followed all steps in the rdoc, fired up rake culerity:rails:start and I still get the following error:

/usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require': no such file to load -- culerity/celerity_server (LoadError) from /usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /var/lib/gems/1.8/gems/culerity-0.2.12/lib/start_celerity.rb:2

AAHHHH!!!!!!
Any ideas? Thanks...

@langalex
Copy link
Owner

looks like it can't find culerity itself. are you using bundler or something? rvm?

@phoet
Copy link

phoet commented Sep 23, 2010

i am trying to get cucumber tests working with culerity and rvm and i saw that error too:

/Users/nofail/.rvm/rubies/jruby-1.5.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require': no such file to load -- culerity/celerity_server (LoadError) from /Users/nofail/.rvm/rubies/jruby-1.5.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /Users/nofail/.rvm/gems/ruby-1.8.7-p302@tolingo-site/gems/culerity-0.2.12/lib/start_celerity.rb:2

seems not to happen with culerity culerity-0.2.10, though i have other issues with that...

@ghost
Copy link

ghost commented Nov 4, 2010

I am having the same problem. 0.2.10 works, but when I switch to 0.2.12 I encounter the same error. I'm using bundler, but that's not a factor, since 0.2.10 works fine with bundler.

@tinomen
Copy link

tinomen commented Jan 20, 2011

I had this problem with culerity and bundler. The new way to start the celerity server relies on rubygems which aren't shared by MRI and jruby and that's why you see this message. Also, bundler sets the RUBYOPT environment var which gets shared with the IO#popen call so jruby gets confused about it's environment. There is a pull request and patch in issue #32 (https://github.com/langalex/culerity/issues#issue/32) that solves this and other issues.

@langalex
Copy link
Owner

just released 0.2.15, which includes the mentioned fix. does that fix your issues?

@tinomen
Copy link

tinomen commented Jan 25, 2011

This is working for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants