diff --git a/pmd-ruby/pom.xml b/pmd-ruby/pom.xml
new file mode 100644
index 0000000000..9c990f5e44
--- /dev/null
+++ b/pmd-ruby/pom.xml
@@ -0,0 +1,137 @@
+
+
+ 4.0.0
+ pmd-ruby
+ PMD Ruby
+
+
+ net.sourceforge.pmd
+ pmd-aggregate
+ 5.1.4-SNAPSHOT
+
+
+
+
+
+ maven-resources-plugin
+
+ false
+
+ ${*}
+
+
+
+
+
+
+ com.atlassian.maven.plugins
+ maven-clover2-plugin
+
+ ${java.version}
+ ${basedir}/../pmd/licences/clover2.license
+
+
+
+ pre-site
+
+ instrument
+
+
+
+
+
+
+
+
+ net.sourceforge.pmd
+ pmd
+ ${project.version}
+
+
+ net.sourceforge.pmd
+ pmd-test
+ ${project.version}
+
+
+ org.apache.ant
+ ant
+ provided
+
+
+ org.apache.ant
+ ant-testutil
+ test
+
+
+ jaxen
+ jaxen
+
+
+ xercesImpl
+ xerces
+
+
+ xalan
+ xalan
+
+
+ icu4j
+ com.ibm.icu
+
+
+
+
+ com.beust
+ jcommander
+
+
+ org.ow2.asm
+ asm
+
+
+ net.sourceforge.saxon
+ saxon
+
+
+ net.sourceforge.saxon
+ saxon
+ dom
+ runtime
+
+
+ junit
+ junit
+ test
+
+
+ xerces
+ xercesImpl
+ jar
+ compile
+
+
+ net.java.dev.javacc
+ javacc
+
+
+ commons-io
+ commons-io
+
+
+ org.mockito
+ mockito-all
+ test
+
+
+ org.apache.commons
+ commons-lang3
+
+
+ org.slf4j
+ slf4j-api
+ test
+
+
+
diff --git a/pmd/src/main/java/net/sourceforge/pmd/cpd/RubyLanguage.java b/pmd-ruby/src/main/java/net/sourceforge/pmd/cpd/RubyLanguage.java
similarity index 100%
rename from pmd/src/main/java/net/sourceforge/pmd/cpd/RubyLanguage.java
rename to pmd-ruby/src/main/java/net/sourceforge/pmd/cpd/RubyLanguage.java
diff --git a/pmd/src/main/java/net/sourceforge/pmd/cpd/RubyTokenizer.java b/pmd-ruby/src/main/java/net/sourceforge/pmd/cpd/RubyTokenizer.java
similarity index 100%
rename from pmd/src/main/java/net/sourceforge/pmd/cpd/RubyTokenizer.java
rename to pmd-ruby/src/main/java/net/sourceforge/pmd/cpd/RubyTokenizer.java
diff --git a/pmd/src/main/java/net/sourceforge/pmd/lang/ruby/RubyLanguageModule.java b/pmd-ruby/src/main/java/net/sourceforge/pmd/lang/ruby/RubyLanguageModule.java
similarity index 100%
rename from pmd/src/main/java/net/sourceforge/pmd/lang/ruby/RubyLanguageModule.java
rename to pmd-ruby/src/main/java/net/sourceforge/pmd/lang/ruby/RubyLanguageModule.java
diff --git a/pmd-ruby/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language b/pmd-ruby/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language
new file mode 100644
index 0000000000..b35b5aa41f
--- /dev/null
+++ b/pmd-ruby/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language
@@ -0,0 +1 @@
+net.sourceforge.pmd.lang.ruby.RubyLanguageModule
diff --git a/pmd/src/test/java/net/sourceforge/pmd/cpd/RubyTokenizerTest.java b/pmd-ruby/src/test/java/net/sourceforge/pmd/cpd/RubyTokenizerTest.java
similarity index 100%
rename from pmd/src/test/java/net/sourceforge/pmd/cpd/RubyTokenizerTest.java
rename to pmd-ruby/src/test/java/net/sourceforge/pmd/cpd/RubyTokenizerTest.java
diff --git a/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language b/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language
index b35b5aa41f..e69de29bb2 100644
--- a/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language
+++ b/pmd/src/main/resources/META-INF/services/net.sourceforge.pmd.lang.Language
@@ -1 +0,0 @@
-net.sourceforge.pmd.lang.ruby.RubyLanguageModule
diff --git a/pom.xml b/pom.xml
index e200dbc94f..84e597babe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -636,6 +636,7 @@
pmd-xml
pmd-php
pmd-fortran
+ pmd-ruby
pmd-dist