# How to install wxruby2 offline

**URL:** <https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090>\
**Category:** Ruby\
**Created:** [February 23, 2009, 10:46am UTC](https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090 "2009-02-23T10:46:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaibhav\_kadian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c67d28/32.png) [@vaibhav\_kadian](https://www.ruby-forum.com/u/vaibhav_kadian)\
**Post date:** [February 23, 2009, 10:46am UTC](https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090/1 "2009-02-23T10:46:20Z")

</div>

Hi

This might not be the right question to ask at such a high tech group  
but as i want to learn it, i have to ask it somewhere.

I have ruby 1.8.6 patch 111 and gem 1.0.1

now i want wxruby2 but as the ‘gem install wxruby2’ tries to install  
from [http://rubyforge.org](http://rubyforge.org), it timed out.  
I can see the files on [http://rubyforge.org/frs/?group\_id=35](http://rubyforge.org/frs/?group_id=35). Can i  
download the tar files and install it locally?  
How? because i dont want to leave it to network to do it…i know  
it sound wierd but i can download the files but unable to install.

Need a way to install offline using a file wxruby2 and wxsugar

---

<div class="post-metadata">

**Author:** ![vaibhav\_kadian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c67d28/32.png) [@vaibhav\_kadian](https://www.ruby-forum.com/u/vaibhav_kadian)\
**Post date:** [February 23, 2009, 10:53am UTC](https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090/2 "2009-02-23T10:53:23Z")

</div>

Alle Monday 23 February 2009, vaibhav kadian ha scritto:

> download the tar files and install it locally?  
> How? because i dont want to leave it to network to do it…i know  
> it sound wierd but i can download the files but unable to install.
> 
> Need a way to install offline using a file wxruby2 and wxsugar

Yes, you can. Simply, give gem the path of the file you downloaded,  
instead of  
just the gem name:

gem install /path/to/downloaded/wxruby-something.gem

I hope this helps

Stefano

---

<div class="post-metadata">

**Author:** ![vaibhav\_kadian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c67d28/32.png) [@vaibhav\_kadian](https://www.ruby-forum.com/u/vaibhav_kadian)\
**Post date:** [February 23, 2009, 11:20am UTC](https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090/3 "2009-02-23T11:20:27Z")

</div>

On Feb 23, 2:50 pm, Stefano C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > fromhttp://rubyforge.org, it timed out.  
> > gem install /path/to/downloaded/wxruby-something.gem
> 
> I hope this helps
> 
> Stefano

dont you think .gem files try to download it from [rubyforge.org](http://rubyforge.org), which  
is what i dont want  
i want a complete set locally. after which i’ll disconnet from web and  
install

Thanks

---

<div class="post-metadata">

**Author:** ![vaibhav\_kadian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c67d28/32.png) [@vaibhav\_kadian](https://www.ruby-forum.com/u/vaibhav_kadian)\
**Post date:** [February 23, 2009, 11:21am UTC](https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090/4 "2009-02-23T11:21:38Z")

</div>

On Feb 23, 3:15 pm, vaibhav kadian [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> is what i dont want  
> i want a complete set locally. after which i’ll disconnet from web and  
> install
> 
> Thanks

BTW even giving gem install wsxruby.tar.gz isnt’ working …its  
looking at [http://gems.rugyforge.org](http://gems.rugyforge.org) for files

---

<div class="post-metadata">

**Author:** ![vaibhav\_kadian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c67d28/32.png) [@vaibhav\_kadian](https://www.ruby-forum.com/u/vaibhav_kadian)\
**Post date:** [February 23, 2009, 11:33am UTC](https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090/5 "2009-02-23T11:33:58Z")

</div>

Alle Monday 23 February 2009, vaibhav kadian ha scritto:

> > > fromhttp://rubyforge.org, it timed out.  
> > > gem install /path/to/downloaded/wxruby-something.gem  
> > > Thanks  
> > > I’m not sure I understand you correctly. I did the following:

- downloaded the file wxruby-1.9.10-x86-linux.gem from  
[http://rubyforge.org/frs/?group\_id=35&release\_id=31089](http://rubyforge.org/frs/?group_id=35&release_id=31089) and put it into  
/home/stefano/downloads

- issued the command  
gem install /home/stefano/downloads/wxruby-1.9.10-x86-linux.gem

This installed wxruby-1.9.19 without having gem trying to connect to the  
web.  
If you want to absolutely sure of this, you can also pass the --local  
command  
line option to gem, but it shouldn’t be necessary.

By the way, referring to the other mail you posted, you can’t install  
the  
tar.gz file you found on rubyforge using rubygems. If you want to use  
that,  
you’ll need to install it manually.

Stefano

---

<div class="post-metadata">

**Author:** ![vaibhav\_kadian](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/c67d28/32.png) [@vaibhav\_kadian](https://www.ruby-forum.com/u/vaibhav_kadian)\
**Post date:** [February 23, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/how-to-install-wxruby2-offline/161090/6 "2009-02-23T12:02:54Z")

</div>

On Feb 23, 3:32 pm, Stefano C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > is what i dont want
> 
> - issued the command  
> Stefano  
> Thanks Stefano  
> local option did the trick … that tells I am new to ruby
