Skip to content

Instantly share code, notes, and snippets.

@shorock
Created February 22, 2017 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shorock/9a91ec8509b22fe08db8d9d4c3ba2c14 to your computer and use it in GitHub Desktop.
Save shorock/9a91ec8509b22fe08db8d9d4c3ba2c14 to your computer and use it in GitHub Desktop.
Fiddling with ArchivesSpace using RubyMine debugger
diff --git a/build/build.xml b/build/build.xml
index 4a10c9b..4cb131e 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -326,7 +326,7 @@
<env key="GEM_PATH" value="" />
<env key="BUNDLE_PATH" value="${gem_home}" />
<env key="ASPACE_INTEGRATION" value="${aspace.integration}" />
- <arg line="--1.9 script/rails s Puma --port=${aspace.frontend.port}" />
+ <arg line="--1.9 /home/tom/.rvm/gems/jruby-1.7.22@as/bin/rdebug-ide --rubymine-protocol-extensions --host 0.0.0.0 --port 1234 -- script/rails s Puma --port=${aspace.frontend.port}" />
</java>
<record name="frontend_test_log.out" action="stop" />
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment