Install RoR on Windows Vista

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:inconnect’
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:innew’
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:insend’
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:incheckout_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:inloop’
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:insynchronize’
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:inconnection’
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:inretrieve_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:incache’
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:incall’
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:incall’
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:incall’
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:incall’
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:insynchronize’
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:incall’
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:incall’
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:incall’
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:incall’
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:incall’
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:inservice’
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:instart_thread’
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:instart_thread’
C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:ineach’
C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:instart’
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:inrun’
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:inrequire’
script/server:3

If I access 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs