rsim/mondrian-olap — Issue #5: jruby newbie help
Author: mattharrison
Created: 2011-11-22 18:08:35+00:00
State: open

I'm pretty much a newbie to (j)ruby. I figured I'd try to get cube_spec.rb to run, and use that as a model during development.

When I try to run it I get the following:
```
$ jruby cube_spec.rb
/usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require': no such file to load -- bundler (LoadError)
from /usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./spec_helper.rb:2
from ./spec_helper.rb:1:in `require'
from cube_spec.rb:1
```

From my grokking, it looks like `bundler` is missing, yet gems claims it isn't :
```
$ jruby -S gem list --local

*** LOCAL GEMS ***

bundler (1.0.21)
diff-lcs (1.1.3)
json (1.6.1)
mondrian-olap (0.3.0)
nokogiri (1.5.0)
rdoc (3.11)
rspec (2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
rspec-mocks (2.7.0)
```

I know this is slightly OT, but I just need help getting the environment figured out (ie do I need to use rvm)?