This is a minimal Rails 7.1 application running on JRuby 9.4.5.0 without a database.
It displays basic system information at the root route (/) and is ready to be packaged as a WAR file for deployment on WebLogic.
- Java 8 (JDK 1.8)
- JRuby 9.4.5.0
- Bundler (tested with 2.6.x)
- Rails 7.1.x
- Warbler gem
- Clone the repository
git clone git@github.com:qisantanu/myapp_for_weblogic.git
cd myapp_for_weblogic- Use JRuby
rvm use jruby-9.4.5.0
# or using rbenv
rbenv local jruby-9.4.5.0- Install dependencies
bundle install- Run the Rails server
bin/rails serverVisit http://localhost:3000 to see:
Ruby/JRuby version Rails version Java version Environment
- Build the WAR file
RAILS_ENV=production bundle exec rake assets:clobber assets:precompile
bundle exec warble war
The WAR file your_app_name.war will be generated in the root directory. Deploy this WAR to WebLogic.