]> git.pld-linux.org Git - packages/rubymine.git/blame - pld.patch
fix broken config/cache paths
[packages/rubymine.git] / pld.patch
CommitLineData
70196cd0
ER
1--- RubyMine-6.0.3/bin/rubymine.sh~ 2014-01-17 06:23:31.000000000 +0200
2+++ RubyMine-6.0.3/bin/rubymine.sh 2014-02-15 23:17:32.187118877 +0200
3@@ -145,8 +145,11 @@
4 fi
5 fi
6
7+CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/RubyMine"
8+CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/RubyMine"
9+
10 COMMON_JVM_ARGS="\"-Xbootclasspath/a:$IDE_HOME/lib/boot.jar\" -Didea.paths.selector=RubyMine60 $IDE_PROPERTIES_PROPERTY"
11-IDE_JVM_ARGS="-Didea.platform.prefix=Ruby -Didea.no.jre.check=true"
c5f41f8b 12+IDE_JVM_ARGS="-Didea.platform.prefix=Ruby -Didea.no.jre.check=true -Drubymine.config.dir=$CONFIG_DIR -Drubymine.cache.dir=$CACHE_DIR"
70196cd0
ER
13 ALL_JVM_ARGS="$VM_OPTIONS $COMMON_JVM_ARGS $IDE_JVM_ARGS $AGENT $REQUIRED_JVM_ARGS"
14
15 CLASSPATH="$IDE_HOME/lib/bootstrap.jar"
16--- RubyMine-6.0.3/bin/idea.properties~ 2014-01-17 06:04:22.000000000 +0200
17+++ RubyMine-6.0.3/bin/idea.properties 2014-02-15 23:18:48.827181727 +0200
18@@ -6,21 +6,25 @@
19 # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
20 #---------------------------------------------------------------------
21 # idea.config.path=${user.home}/.RubyMine/config
c5f41f8b 22+idea.config.path=${rubymine.config.dir}
70196cd0
ER
23
24 #---------------------------------------------------------------------
25 # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
26 #---------------------------------------------------------------------
27 # idea.system.path=${user.home}/.RubyMine/system
c5f41f8b 28+idea.system.path=${rubymine.cache.dir}
70196cd0
ER
29
30 #---------------------------------------------------------------------
31 # Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
32 #---------------------------------------------------------------------
33 # idea.plugins.path=${idea.config.path}/plugins
c5f41f8b 34+idea.plugins.path=${rubymine.config.dir}/plugins
70196cd0
ER
35
36 #---------------------------------------------------------------------
37 # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using forward slashes.
38 #---------------------------------------------------------------------
39 # idea.log.path=${idea.system.path}/log
c5f41f8b 40+idea.log.path=${rubymine.cache.dir}/log
70196cd0
ER
41
42 #---------------------------------------------------------------------
43 # Maximum file size (kilobytes) IDE should provide code assistance for.
This page took 0.073523 seconds and 4 git commands to generate.