[#395238] rubygem: ispunity (unite all your internet connections) — Arun Tomar <tomar.arun@...>

Dear friends,

12 messages 2012/05/01

[#395250] Overwriting one Ruby array or arrays with another — Craig Law <lists@...>

Hi

14 messages 2012/05/02

[#395258] array of strings - finding letter combinations — "Sebastjan H." <lists@...>

Hi All,

16 messages 2012/05/02

[#395357] Why Enumerator#next does not return more than one value? — Földes László <lists@...>

If I have an Enumerator which yields elements of a mathematical series

10 messages 2012/05/07

[#395373] How to use Data_Wrap_Struct to assign the DATA VALUE to an exsiting Ruby object? — Iñaki Baz Castillo <ibc@...>

Hi, my code receives an arbitrary klass name (provided by the user)

8 messages 2012/05/07

[#395429] passing via instance variable or regular () — sam jam <lists@...>

def first

10 messages 2012/05/10

[#395463] I'm looking for a Metaprogramming Project — Phil Stone <lists@...>

Hello,

19 messages 2012/05/11

[#395548] A million reasons why Encoding was a mistake — Marc Heiler <lists@...>

Newcomer wants to try Ruby.

15 messages 2012/05/15
[#395561] Re: A million reasons why Encoding was a mistake — Ryan Davis <ryand-ruby@...> 2012/05/15

[#395595] Re: A million reasons why Encoding was a mistake — Brian Candler <lists@...> 2012/05/16

I will add that the OP is not entirely alone in his opinion.

[#395551] How to ensure that a block runs entirely after other threads? (Thread.exclusive does not "work") — Iñaki Baz Castillo <ibc@...>

Hi, I expected that in the following example code, thread t1 would not

8 messages 2012/05/15

[#395575] GUI with ruby on windows — David Acosta <lists@...>

hello friends, i am a begginer and i have a litlle question, how can i

17 messages 2012/05/16

[#395604] what is going wrong here? — roob noob <lists@...>

Notice the initialization of both classes in each of the examples, if

20 messages 2012/05/16

[#395646] rb_gc_register_address() or rb_gc_mark()? — Iñaki Baz Castillo <ibc@...>

Hi, I've bad experiences with rb_gc_register_address(), it does never

16 messages 2012/05/17

[#395686] reading from and writing to a Unicode encoded file — "Sebastjan H." <lists@...>

Hi,

19 messages 2012/05/18
[#395694] Re: reading from and writing to a Unicode encoded file — Regis d'Aubarede <lists@...> 2012/05/18

Hello,

[#395697] Re: reading from and writing to a Unicode encoded file — "Sebastjan H." <lists@...> 2012/05/18

Regis d'Aubarede wrote in post #1061272:

[#395698] Re: reading from and writing to a Unicode encoded file — Regis d'Aubarede <lists@...> 2012/05/18

Sebastjan H. wrote in post #1061276:

[#395699] Re: reading from and writing to a Unicode encoded file — "Sebastjan H." <lists@...> 2012/05/18

Regis d'Aubarede wrote in post #1061277:

[#395750] Re: reading from and writing to a Unicode encoded file - issues when using Shoes — "Sebastjan H." <lists@...> 2012/05/21

Hi,

[#395754] Re: reading from and writing to a Unicode encoded file - issues when using Shoes — "Sebastjan H." <lists@...> 2012/05/21

Sebastjan H. wrote in post #1061483:

[#395740] ? Ruby through CGI and Rails — Shaun Lloyd <list@...>

Hi everybody,

22 messages 2012/05/21
[#395764] Re: Ruby through CGI and Rails — Brian Candler <lists@...> 2012/05/21

Shaun Lloyd wrote in post #1061455:

[#395786] Re: Ruby through CGI and Rails — Shaun Lloyd <list@...> 2012/05/22

On 22/05/12 03:37, Brian Candler wrote:

[#395838] Re: Ruby through CGI and Rails — Brian Candler <lists@...> 2012/05/23

Shaun Lloyd wrote in post #1061602:

[#395787] Changing self class from inside a method?? — David Madison <lists@...>

Let's start off with the assumption I want a method that allows an

10 messages 2012/05/22

[#395841] Memory-efficient set of Fixnums — George Dupre <lists@...>

Hi,

25 messages 2012/05/23

[#395883] looking for a ruby idiom : r=foo; return r if r — botp <botpena@...>

Hi All,

11 messages 2012/05/24

[#395966] Am I justified to use a global variable if it must be used in all scopes? — Phil Stone <lists@...>

Hello,

12 messages 2012/05/27

[#396010] does this leak more than the size of the string via timing side channels — rooby shoez <lists@...>

string1 = "string"

16 messages 2012/05/29

[#396038] Is it possible to avoid longjmp in exceptions, Thread#kill, exit(), signals? — Iñaki Baz Castillo <ibc@...>

Hi, my Ruby C extension runs a C loop (libuv) without GVL. At some

8 messages 2012/05/29

ruby gem on windows error

From: "bogdann b." <lists@...>
Date: 2012-05-10 13:20:30 UTC
List: ruby-talk #395441
I am trying to run a ruby program so far is not working. I followed this
guide for my program:
-------------------------------------------------------------------------=

How to install on Windows (Verified on x64 and x86 Windows 7)

Step 1: Download and install the latest ruby (current direct link
below):
http://rubyforge.org/frs/download.php/75465/rubyinstaller-1.9.3-p0.exe

Step 2: Next download the Ruby Dev-Kit (current direct link below):
https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-2=
0111229-1559-sfx.exe

Open the SFX EXE, when promoted to provide a directory path type in the
following:

C:\Ruby193\Dev-Kit\

This will simply create a new folder in your ruby root directory. If you
have 7zip you can simply create a new folder called Dev-Kit and extract
the files manually into this folder.

Step 3: Next you must install the Dev-Kit, which is explained on the
official website, but I will give you the steps here for the exact
results that I=E2=80=99ve achieved.

- Open cmd (must run as administrator). - Type in the following
commands:

cd C:\Ruby193\Dev-Kit ruby dk.rb init then ruby dk.rb install

NOTE: It should output =E2=80=9CINFO? Installing
'C:/Ruby193/lib/ruby/site_ruby/devkit.rb'=E2=80=9D after running install,=
 which
is normal and should be successful.

Step 4: Next we need to install a required gem for wpscan. Type the
following in the command console:

gem install xml-simple

Step 5: Download the latest version of curl devel mingw32 (current
direct link below):
http://www.gknw.de/mirror/curl/win32/curl-7.23.1-devel-mingw32.zip

Step 6: Using 7zip (or whatever extraction tool you have) extract the
zip file to the following location:

C:\Ruby193\lib\ruby\gems\1.9.1\gems\

In the end, you should have a new folder called
curl-7.23.1-devel-mingw32.

Browse to
C:\Ruby193\lib\ruby\gems\1.9.1\gems\curl-7.23.1-devel-mingw32\bin

Copy all of the files in this current folder over to C:\Ruby193\bin. If
asked to over-write a file, just choose Yes (I've never hada ny issues).

Step 7: Now it's time to actually install typhoeus. So, with your
command prompt still open, type in the following command:

gem install typhoeus --
--with-opt-include=3D'C:\Ruby193\lib\ruby\gems\1.9.1\gems\curl-7.23.1-dev=
el-mingw32\include'
--with-opt-lib=3D'C:\Ruby193\lib\ruby\gems\1.9.1\gems\curl-7.23.1-devel-m=
ingw32\bin'

Step 8 (FINAL): Now just simply download the svn with any SVN client
that you have, if you're unfamiliar with SVN I uploaded the 7zip of the
whole package (http://www.mediafire.com/?40uvu42hp09wpo1), just simply
unzip it to any location (preferably C:\Ruby193\ to remember it's
location).
-----------------------------------------------------------------------

The result after all steps completed:

Copied from ruby console
ruby 1.9.3p0 (2011-10-30) [i386-mingw32]

C:\Ruby193>cd wpscan

C:\Ruby193\wpscan>ruby wpscan.rb
[ERROR] cannot load such file -- typhoeus
[TIP] Try to run 'gem install typhoeus' or 'gem install --user-install
typhoeus'
. If you still get an error, Please see README file or
http://code.google.com/p/
wpscan/

C:\Ruby193\wpscan>gem install --user-install typhoeus
WARNING:  You don't have C:\Documents and
Settings\ANDREASS\.gem\ruby\1.9.1\bin
in your PATH,
          gem executables will not run.
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing typhoeus:
        ERROR: Failed to build gem native extension.

        C:/Ruby193/bin/ruby.exe extconf.rb
extconf.rb:9: Use RbConfig instead of obsolete and deprecated Config.
checking for curl/curl.h in C:/Documents and
Settings/ANDREASS/.gem/ruby/1.9.1/g
ems/typhoeus-0.3.3/cross/curl-7.19.4.win32/include... no
need libcurl
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=3D${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=3D${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=3D.
        --curdir
        --ruby=3DC:/Ruby193/bin/ruby


Gem files will remain installed in C:/Documents and
Settings/ANDREASS/.gem/ruby/
1.9.1/gems/typhoeus-0.3.3 for inspection.
Results logged to C:/Documents and
Settings/ANDREASS/.gem/ruby/1.9.1/gems/typhoe
us-0.3.3/ext/typhoeus/gem_make.out

C:\Ruby193\wpscan>

-- =

Posted via http://www.ruby-forum.com/.=

In This Thread

Prev Next