Skip to content

qisantanu/myapp_for_weblogic

Repository files navigation

JRuby Rails 7.1 Starter App (No DB)

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.


Prerequisites

  • Java 8 (JDK 1.8)
  • JRuby 9.4.5.0
  • Bundler (tested with 2.6.x)
  • Rails 7.1.x
  • Warbler gem

Setup Instructions

  1. Clone the repository
git clone git@github.com:qisantanu/myapp_for_weblogic.git
cd myapp_for_weblogic
  1. Use JRuby
rvm use jruby-9.4.5.0
# or using rbenv
rbenv local jruby-9.4.5.0
  1. Install dependencies
bundle install
  1. Run the Rails server
bin/rails server

Visit http://localhost:3000 to see:

Ruby/JRuby version Rails version Java version Environment

  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published