or Create a profile
24 Jul, 2011 06:17 AM
I have recently started to upgrade our server and libraries, and
have tried (and failed) to bundle the default rails3 application. I
believe the problem is with warbler v1.3.1 and it has some sort of
incompatibility with rake v0.9.2 Any help would be greatly
Steps 1 through 5 work great, and step 6a successfully creates
and launches the application.
However, when I try to bundle the application into a war file
using Step 6b, I get the following message:
You have already activated rake 0.8.7, but your Gemfile requires
rake 0.9.2. Consider using bundle exec.
Create Simple JRuby / Rails Application
1. jruby -S gem install bundler rake rails warbler
2. jruby -S rails new myapp3 --template http://jruby.org/rails3.rb
3. cd myapp3
4. jruby -S bundle install
5. jruby -S rake db:create:all
6a. jruby script/rails server
6b. jruby -S warble
My environment was installed from scratch, no old libraries or
applications were installed before testing the JRuby / Rails sample
- Linux unix 188.8.131.52-35.fc15.x86_64 #1 SMP Wed Jul
6 13:58:54 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux - jruby 1.6.3
(ruby-1.8.7-p330) (2011-07-07 965162f) (OpenJDK 64-Bit Server VM
1.6.0_22) [linux-amd64-java] - jruby -S gem list LOCAL
GEMS abstract (1.0.0)
rake (0.9.2, 0.8.7)
2 Posted by Eric Hodel on 24 Jul, 2011 07:14 AM
This is a help discussion for problems with RubyGems itself, so
we can't really help you here.
Use bundle exec as the error message states
Uninstalling rake 0.9.2 or 0.8.7
Contacting the warbler maintainers if you're sure that's where
the problem lies.
We can't really diagnose your problem here otherwise as this is
not the appropriate place.
Eric Hodel closed this discussion
on 24 Jul, 2011 07:14 AM.
Comments are currently closed for this discussion.
You can start a new one.
2 people watching.
No more actions from RubyGems.org or the discussion starter are required.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.