I can’t find a Gemset that actually works to deploy a Rails app on
Warbler 1.3.2 has a known issue where the Gemset file can’t be found,
1.3.3 apparently has has its own set of issues. I’ve hacked
/META-INF/init.rb directly so Gemfile can be found.
Every combination of Gem versions (Rails/Jruby 1.8 mode/Jruby 1.9
mode/Sprockets/Warbler/ActionPack) seems to have an endless series of
to work through, and it’s hopeless for me, a noob to the whole Ruby
landscape, to figure it all out.
Please, someone take pity on me, and help me get this worked out. I’ve
struggling with this for a week and a half, and stakeholder patience is
gone. Not your problem, but you get you get a big bear hug if you help
Current issue (full stack trace here: http://pastebin.com/2KSJv36G):
NoMethodError: undefined method `relative_url_root=’ for
send at org/jruby/RubyKernel.java:2097
Here is the war with the tweaked WEB-INF/init.rb:
Here is the source code, which was generated with a simple rails new and
new rails controller:
So what’s the winning combo?
(Did I mention heeeeellllllpppp?!?!)