Permalink
Browse files

Rubyzip 2.0.2 in gems file.

  • Loading branch information...
1 parent 28dbbef commit a17f9e64c942459ceb1a6ef2dd5ab7337a3d1800 @wayneeseguin wayneeseguin committed Feb 22, 2012
View
2 .gems
@@ -1,3 +1,3 @@
-rubyzip2 -v2.0.1
+rubyzip2 -v2.0.2
win32-open3
POpen4
@@ -14,11 +14,11 @@
; Full example:
; iscc resouces\railsinstaller\railsinstaller.iss \
-; /dInstallerVersion=0.1.0 \
+; /dInstallerVersion=2.1.0 \
; /dStagePath=stage \
; /dRubyPath=Ruby1.9.2 \
; /opkg
-; /frailsinstaller-0.1.0.exe
+; /frailsinstaller-2.1.0.exe
#if Defined(InstallerVersion) == 0
#error Please provide a InstallerVersion definition using a /d parameter.
@@ -0,0 +1,4 @@
+@echo off
+if not exist "%homedrive%%homepath%\.ssh" mkdir "%homedrive%%homepath%\.ssh"
+if not exist "%homedrive%%homepath%\.ssh\id_rsa.pub" c:\RailsInstaller\Git\bin\ssh-keygen.exe -f "%homedrive%%homepath%\.ssh\id_rsa" -t rsa -N ""
+@echo on
View
@@ -0,0 +1,7 @@
+#!/usr/bin/env ruby
+
+pub_key_file = File.join(ENV["HOMEDRIVE"],ENV["HOMEPATH"],".ssh","id_rsa","pub")
+
+ssh_pub_key = File.open(pub_key_file,'r') { |file| file.read }
+
+%x{echo #{ssh_pub_key} | clip}
@@ -0,0 +1,6 @@
+@ECHO OFF
+IF NOT "%~f0" == "~f0" GOTO :WinNT
+@"ruby.exe" "C:/Projects/railsinstaller/stage/Ruby1.9.2/bin/sshkey" %1 %2 %3 %4 %5 %6 %7 %8 %9
+GOTO :EOF
+:WinNT
+@"ruby.exe" "%~dpn0" %*

0 comments on commit a17f9e6

Please sign in to comment.