Steps to install Powerstation:
- Download the compiled jruby from compiled_jruby and configure your environment path as follows:
$ cd compiled-jruby $ export JRUBY_PATH=`pwd`/bin $ export PATH=$JRUBY_PATH:$PATHMake sure the
exportcommands are also saved to~/.bashrc. - Install yard and activesupport:
$ gem install yard $ gem install activesupport $ gem install work_queueIf your view file is written in haml, you also need to install python3 and bs4.
-
Download and install RubyMine.
-
Download powerstation.
-
Open RubyMine and go to
preference->plugin, then clickInstall plugin from disk, and select the powerstation jar file just downloaded.

- The tool needs to know all entrance controller actions from your application. It assumes them to be stored in a file called
calls.txt. You can generate that file by running:$rake routes | tail -n +2 | awk '{ for (i=1;i<=NF;i++) if (match($i, /.#./)) print $i}' | sed -e 's/#/,/g' | sort | uniqin your app, and then copying it to
<APPDIR>/calls.txt. - Open your project with RubyMine and you’re ready to go!