dradis Framework Forumsdradis General ForumsGeneral DiscussionOffline installation
Pages: [1]
Print
Author Topic: Offline installation  (Read 760 times)
sleepy1974
Newbie
*
Posts: 1


View Profile
« on: February 26, 2010, 10:10:12 pm »

Hi, I'm trying to install Dradis 2.5 on a standalone Windows XP machine. I know the Dradis one click installer tries to download Ruby, so I had Ruby (ruby186-27_rc2.exe) installed separately first.

But I keep getting an error message from Dradis that Ruby is not installed. I verified that the environment variables to make sure that Ruby was in the path, so I'm not sure what the problem is.

Also, what other packages do I need to download/install before I can get Dradis working?

Thanks.
Logged

etd
dradis Core Team
Jr. Member
*****
Posts: 91



View Profile Email
« Reply #1 on: February 27, 2010, 11:37:16 am »

Hi,

This is strange, the Dradis installer uses the standard Ruby for Windows package which should be the only prerequisite:

http://rubyforge.org/frs/download.php/47082/ruby186-27_rc2.exe

The check that it does to verify the install is probably not the most elegant, but there you go Smiley It verifies the installation path ("Inno Setup: App Path") in Ruby's uninstall properties:

HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CE65B110-8786-47EA-A4A0-05742F29C221}_is1"


Do you have that key in the registry?

If you don't you can try uninstalling Ruby and downloading from the location above, maybe you are getting a slightly different version or something.

If all goes bad, then you can always do a manual install:
- download and uncompress the tar.gz
- in a console, go to the uncompressed folder and inside the server directory type these commands:
Code:
gem install sqlite3-ruby -v=1.2.3 --no-ri --no-rdoc
gem install rake -v=0.8.7 --no-ri --no-rdoc
gem install rack -v=1.1.0 --no-ri --no-rdoc
gem install RedCloth -v=4.2.2 --no-ri --no-rdoc
rake dradis:reset

That should be it. Whenever you want to start the server type:

Code:
ruby script\server -b <IP address, default: 127.0.0.1> -p <port, default: 3004>

HTH,

Daniel
« Last Edit: February 27, 2010, 01:30:40 pm by etd » Logged

questionallthings
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: March 24, 2010, 01:38:10 pm »

I don't know the original posters success or failure with your advice. But I tried to do the manual install of ruby (rubyinstaller-1.9.1-p378-rc2.exe). And because it's a Windows standalone I did a soft reset just to make sure (never can tell with Windows). And when I ran the dradis install (dradis-v2.5.1-setup.exe) I get the same response.

Do you think I should remove Ruby 1.9 and install Ruby 1.8 using your link?
Logged

questionallthings
Newbie
*
Posts: 2


View Profile Email
« Reply #3 on: March 24, 2010, 01:55:00 pm »

Addendum: I looked in the registry to find the exact registry key associated with my particular install:

HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{11233A17-BFFC-434A-8FC8-2E93369AF008}_is1

I hope this helps some.
Logged

etd
dradis Core Team
Jr. Member
*****
Posts: 91



View Profile Email
« Reply #4 on: April 01, 2010, 09:09:22 am »


If you want to use a different version of ruby than the one bundled with the installer you can. You just need to install these gems:

Code:
gem install --no-ri --no-rdoc rack -v=1.0.1
gem install --no-ri --no-rdoc sqlite3-ruby
gem install --no-ri --no-rdoc RedCloth

Then go to the dradis install folder and you should be able to use the shortcuts created by the installer (if ruby is in your PATH). Otherwise you can start the server from the server/ folder with:

Code:
ruby script\server -b <bind address> -p <port num>

Hope this helps,

Daniel
Logged

Pages: [1]
Print
Jump to: