# Maven, Gems, and a JRuby Console for All

DevFeed: [Maven, Gems, and a JRuby Console for All](<https://devfeed.tech/articles/maven-gems-and-a-jruby-console-for-all-15762.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/maven-gems-and-a-jruby-console-for-all>)

Author: Square Engineering

Published: 2013-07-02T16:03:00Z

Content type: tutorial

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Maven](<https://devfeed.tech/topics/maven.md>), [Java](<https://devfeed.tech/topics/java.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [maven-plugin](<https://devfeed.tech/tags/maven-plugin.md>), [packaging](<https://devfeed.tech/tags/packaging.md>), [ruby](<https://devfeed.tech/tags/ruby.md>)

## AI overview

A tutorial showing how to package an embedded JRuby console and its gem dependencies inside a Maven shaded JAR. It explains the Maven plugin configuration and demonstrates running the application in production without invoking JRuby while still allowing the console to access the configured gems.

## Source excerpt

We will show how to add a JRuby console to any maven project... with gems!