# Install RoR on Windows Vista

**URL:** <https://www.ruby-forum.com/t/install-ror-on-windows-vista/181549>\
**Category:** Rails\
**Created:** [January 13, 2010, 4:05pm UTC](https://www.ruby-forum.com/t/install-ror-on-windows-vista/181549 "2010-01-13T16:05:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b2d939/32.png) [@patrick](https://www.ruby-forum.com/u/patrick)\
**Post date:** [January 13, 2010, 4:05pm UTC](https://www.ruby-forum.com/t/install-ror-on-windows-vista/181549/1 "2010-01-13T16:05:51Z")

</div>

I am using Windows Vista and installed Ruby 1.8.6.

gem install rails --include-dependencies

gem install mysql --include-dpendencies

MySQL gem installs, but a whole bunch of message pop up such as -  
. . .  
No definition for time\_get\_second

No definition for time\_get\_neg

No definition for time\_get\_second\_part

No definition for time\_set\_year

No definition for time\_set\_month

No definition for time\_set\_day

No definition for time\_set\_hour

No definition for time\_set\_minute

No definition for time\_set\_second

No definition for time\_set\_neg

No definition for time\_set\_second\_part

No definition for time\_equal

No definition for error\_errno

No definition for error\_sqlstate

I configure the database.yml for mysql, and I know what my database  
username and password are (can review via my php configurations, etc).

I make a simple hello world app, but I here’s the development.log:

# Logfile created on Wed Jan 13 20:58:07 +0700 2010/!\ FAILSAFE /!\

Wed Jan 13 20:58:16 +0700 2010  
Status: 500 Internal Server Error  
Access denied for user ‘pksa’@‘localhost’ (using password: NO)  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/mysql\_adapter.rb:589:in  
`real_connect' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/mysql_adapter.rb:589:in `connect’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/mysql\_adapter.rb:203:in `initialize' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/mysql_adapter.rb:75:in `new’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/mysql\_adapter.rb:75:in  
`mysql_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/connection_pool.rb:223:in `send’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/abstract/connection\_pool.rb:223:in  
`new_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/connection_pool.rb:245:in `checkout\_new\_connection’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/abstract/connection\_pool.rb:188:in  
`checkout' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/connection_pool.rb:184:in `loop’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/abstract/connection\_pool.rb:184:in  
`checkout' C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/abstract/connection\_pool.rb:183:in  
`checkout' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/abstract/connection\_pool.rb:326:in  
`retrieve_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/connection_specification.rb: 123:in `retrieve\_connection’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/connection\_adapters/abstract/connection\_specification.rb:  
115:in `connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/query_cache.rb:9:in `cache’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/  
active\_record/query\_cache.rb:28:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/connection_pool.rb:361:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/  
action\_controller/string\_coercion.rb:25:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/  
methodoverride.rb:24:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ action_controller/params_parser.rb:15:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/  
action\_controller/session/cookie\_store.rb:93:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ action_controller/failsafe.rb:26:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize’  
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ action_controller/dispatcher.rb:114:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/  
action\_controller/reloader.rb:34:in `run' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ action_controller/dispatcher.rb:108:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/  
static.rb:31:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in  
`each' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/  
log\_tailer.rb:17:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/ content_length.rb:13:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/  
webrick.rb:50:in `service' C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service’  
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start\_thread’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start\_thread’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start' C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/ webrick.rb:14:in `run’  
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:  
111  
C:/Ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require’  
script/server:3

If I access [http://localhost:3000](http://localhost:3000), the link for About your  
applications environment says:  
We’re sorry, but something went wrong.

Database.yml looks like this -  
development:  
adapter: mysql  
encoding: utf8  
database: pkdb  
username: pksa  
password: \*\*\*\*\*  
host: localhost  
socket: /tmp/mysql.sock

test:  
adapter: mysql  
encoding: utf8  
database: pkdb  
username: pksa  
password: \*\*\*\*  
host: localhost  
socket: /tmp/mysql.sock

production:  
adapter: mysql  
encoding: utf8  
database: pkdb  
username: pksa  
password: \*\*\*\*  
host: localhost  
socket: /tmp/mysql.sock

Not sure about the socket line, but I did add a similar line into  
my.ini for [client] and [mysqld] as follows:

socket=C:/tmp/mysql.sock

Did seem to work with mysqlite3, and choking my mysql as well. But I  
really don’t think it’s a database issue somehow.

Any ideas for me going with RoR? Thanks for any ideas.
