[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Installing Ruby, Sqlite3, Sqlite3-Ruby on Cygwin

Roger Pack

2/27/2007 4:45:00 AM

I believe that the ruby for cygwin works...all right...however if you
install it 'side by side' with ruby for windows, you may need to change
the environment variable for your computer of "ruby_opt=-rubygems" to
not say anything (or have cygwin override it on start-up) because that
conflicts with the two versions and they no longer like each other :)
Something like that.


Jason Roelofs wrote:
> Looks good. A note for those new to Cygwin: The Ruby from setup.exe is
> broken, horribly broken. Build from source as outlined above or (better
> IMO)
> use the OneClick Ruby Installer and install to Windows itself, updating
> your
> PATH to include C:\ruby\bin (default path).
>
> Jason


--
Posted via http://www.ruby-....

2 Answers

ThoML

2/27/2007 6:58:00 AM

0

> > Looks good. A note for those new to Cygwin: The Ruby from setup.exe is
> > broken, horribly broken. Build from source as outlined above or (better
> > IMO)
> > use the OneClick Ruby Installer and install to Windows itself, updating
> > your
> > PATH to include C:\ruby\bin (default path).

Cyg ruby works quite well here. Using the windows ruby in a cygwin
environmont isn't such a good idea due to different path conventions.

With respect to sqlite: I'd supposed that "gem install sqlite3-ruby"
should work.

ajalkane

2/27/2007 12:18:00 PM

0

On Feb 27, 8:58 am, "micathom" <micat...@gmail.com> wrote:
> With respect to sqlite: I'd supposed that "gem install sqlite3-ruby"
> should work.

Having just been in the situation of wanting to use SQLite3 with ruby
in cygwin, I can say it did not. Not without warnings at least that
is.

I ended up compiling SQLite3 on cygwin, compiling SQLite3's dll,
downloading sqlite3-ruby tar.gz packet, and compiling the ruby
extension
extension with correct paths to SQLite3's headers and libs.