Errors on installing Rails on windows 7 (32 bit)

Hi, I’m trying to install Rails, but when installing the Rails package
using Gem, I get some errors. See error log in bottom of this post.

I’m new to Rails as well as Ruby, and was trying to do the steps
described in the official Rails web page at

I’m using Windows 7 (32 bit), and have just installed Ruby 1.8.7 (as
there is curently a bug that prevents me from installing the Gem
package manager on 1.9.2, as described here:
and the Gem package manager.

I just want to get Rails running, can anyone help?

Command line log:

c:\Temp>gem install rails
Successfully installed activesupport-3.0.3
Successfully installed builder-2.1.2
Successfully installed i18n-0.5.0
Successfully installed activemodel-3.0.3
Successfully installed rack-1.2.1
Successfully installed rack-test-0.5.6
Successfully installed rack-mount-0.6.13
Successfully installed tzinfo-0.3.23
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.6
Successfully installed actionpack-3.0.3
Successfully installed arel-2.0.6
Successfully installed activerecord-3.0.3
Successfully installed activeresource-3.0.3
Successfully installed mime-types-1.16
Successfully installed polyglot-0.3.1
Successfully installed treetop-1.4.9
Successfully installed mail-2.2.12
Successfully installed actionmailer-3.0.3
Successfully installed rake-0.8.7
Successfully installed thor-0.14.6
Successfully installed railties-3.0.3
Successfully installed bundler-1.0.7
Successfully installed rails-3.0.3
24 gems installed
Installing ri documentation for activesupport-3.0.3…
Installing ri documentation for builder-2.1.2…
ERROR: While generating documentation for builder-2.1.2
… MESSAGE: Unhandled special: Special: type=17, text=""
… RDOC args: --ri --op C:/Ruby187/lib/ruby/gems/1.8/doc/
builder-2.1.2/ri --tit
le Builder – Easy XML Building --main README --line-numbers --quiet
Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/
doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation
(continuing with the rest of the installation)
Installing ri documentation for i18n-0.5.0…
Installing ri documentation for activemodel-3.0.3…
Installing ri documentation for rack-1.2.1…
Installing ri documentation for rack-test-0.5.6…
Installing ri documentation for rack-mount-0.6.13…
Installing ri documentation for tzinfo-0.3.23…
Installing ri documentation for abstract-1.0.0…
Installing ri documentation for erubis-2.6.6…
Installing ri documentation for actionpack-3.0.3…
Installing ri documentation for arel-2.0.6…
Installing ri documentation for activerecord-3.0.3…
ERROR: While executing gem … (Errno::EINVAL)
Invalid argument - ./</cdesc-<.yaml

c:\Temp>md rubysrv

c:\Temp>rails new rubysrv
create README
create Rakefile
create .gitignore
create Gemfile
create app
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/mailers
create app/models
create app/views/layouts/application.html.erb
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/secret_token.rb
create config/initializers/session_store.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create log
create log/server.log
create log/production.log
create log/development.log
create log/test.log
create public
create public/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create public/images
create public/images/rails.png
create public/stylesheets
create public/stylesheets/.gitkeep
create public/javascripts
create public/javascripts/application.js
create public/javascripts/controls.js
create public/javascripts/dragdrop.js
create public/javascripts/effects.js
create public/javascripts/prototype.js
create public/javascripts/rails.js
create script
create script/rails
create test
create test/fixtures
create test/functional
create test/integration
create test/performance/browsing_test.rb
create test/test_helper.rb
create test/unit
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep


c:\Temp>cd rubysrv

c:\Temp\rubysrv>rails server
Could not find gem ‘sqlite3-ruby (>= 0, runtime)’ in any of the gem
sources list
ed in your Gemfile.
Try running bundle install.

c:\Temp\rubysrv>bundle install
Fetching source index for
Using rake (0.8.7)
Using abstract (1.0.0)
Using activesupport (3.0.3)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.3)
Using erubis (2.6.6)
Using rack (1.2.1)
Using rack-mount (0.6.13)
Using rack-test (0.5.6)
Using tzinfo (0.3.23)
Using actionpack (3.0.3)
Using mime-types (1.16)
Using polyglot (0.3.1)
Using treetop (1.4.9)
Using mail (2.2.12)
Using actionmailer (3.0.3)
Using arel (2.0.6)
Using activerecord (3.0.3)
Using activeresource (3.0.3)
Using bundler (1.0.7)
Using thor (0.14.6)
Using railties (3.0.3)
Using rails (3.0.3)
Installing sqlite3-ruby (1.3.2)
Your bundle is complete! Use bundle show [gemname] to see where a
bundled gem
is installed.

c:\Temp\rubysrv>rails server
6:in require': no such file to load -- sqlite3/sqlite3_native (LoadError) from C:/Ruby187/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.3.2-x86- mingw32/li b/sqlite3.rb:6 from C:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/ bundler/runtime .rb:64:inrequire’
from C:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/
.rb:64:in require' from C:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/ bundler/runtime .rb:62:ineach’
from C:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/
.rb:62:in require' from C:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/ bundler/runtime .rb:51:ineach’
from C:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/
.rb:51:in require' from C:/Ruby187/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/ bundler.rb:112: inrequire’
from c:/Temp/rubysrv/config/application.rb:7
from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/
.rb:28:in require' from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/ rails/commands .rb:28 from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/ rails/commands .rb:27:intap’
from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/
from script/rails:6:in `require’
from script/rails:6

Did you ever get this working? I have the same issue but on Ubuntu 10.10

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