Skip to content

Setup your dev ENV in IronHorse VM

vicwin edited this page Jan 9, 2012 · 10 revisions
  • Please get you access to the machine from Peter(ec2-174-129-171-140.compute-1.amazonaws.com), you need to provide him you public key.

  • add you to the "rvm" Linux group, please inform me or Peter to do this, and then relogin to the machine.

  • The project is installed in a shared location /opt/share/warden

  • cd into the directy cd /opt/share/warden, you will see a warning message (enter "yes" to accept it).

  • rvm is install in the system, so you should be able to run command "rvm"

  • install ruby 1.9.2 using rvm rvm install ruby-1.9.2-p290

  • install gem bundler gem install bundler

  • install all the required gems for the project bundle install, wait for a few minutes for install to complete.

  • set you display to :10 for the test export DISPLAY=:10

  • Note: Please check WARDEN_CONFIG_DIR & WARDEN_HOME environment variables are setup to point the project root dir and it’s config dir

  • run cucumber project/test_project/features/buying_guide.feature, once you see the feature pass, your env is setup!