Be sure to install the DevKit available in the download section to install important gems.
vsidr1, 2010/03/14 01:00
Hello, I install ruby, then Rails and mysql. I change database file,but then Ror stop work and generate error:
“Status: 500 Internal Server Error
193: %1 is not a valid Win32 application."
How can i fix that?
Lloyd Cledwyn, 2010/04/21 16:28
It seems that I also needed to run
gem install sqlite3
in order for my version to work.
stefan trost, 2010/07/22 10:45
hi, I'm an absolute beginner and having some trouble. whenever I type in “config” I get “config: The Perl interpreter could not be found.”
Upto now I have done everything according to above.
I want to edit database.yml. how can I do that? what's going wrong?
And: when typing in “rake db:migrate” it says “rakefile not found”
Again: what's going on? I'm thankful for help!
james cowlishaw, 2010/10/05 11:05
'config' does not relate to a command, it is the path to the database.yml file: [RAILS_APP_PATH]\config\database.yml. When running “rake db:migrate”, make sure your current working directory is [RAILS_APP_PATH].
AKS, 2010/09/22 09:06
Hi
I installed Ruby using Rubyinstaller-1.9.2-p0.exe & sqlite3-ruby and rails3
Getting error while executing rails myprojectname, “usage: rails new APP_PATH [options]”
So i gave “rails new myprojectname” & after going into the directory “myprojectname”, i dont see any “server” file under the “script” folder.
ruby: no such file or directory – script/server <LoadError>
I have only one file under “script” folder and it is “rails”
Please help what is wrong i am doing here.
Thanks AKS
Novice Railer
james cowlishaw, 2010/10/05 11:04
The documentation here did not apply to Rails 3. Use 'ruby rails server' instead.
Lance Carlson, 2010/10/06 19:41
JRuby might be a better solution for ruby development on windows.
Kyle, 2011/06/25 16:45
I am relatively new to Ruby on Rails and I have been experiencing this error. I'm using Windows 7 Ultimate, ruby 1.9.2p180 (2011-02-18) [i386-mingw32], Rails 3.0.9. DevKit installed, mysql (1, not 2), and the .dll from MySQL 5.0 copied into the bin folder.
C:\Users\kyle\Documents\Sites\blog>rake db:create
(in C:/Users/kyle/Documents/Sites/blog)
rake aborted!
uninitialized constant Rake::DSL
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2482:in `const_missing'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:8:in `<class:
TaskLib>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:6:in `<module
:Rake>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:3:in `<top (r
equired)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.6.1/lib/rdoc/task.rb:37:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.6.1/lib/rdoc/task.rb:37:in `<top (req
uired)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks/documentation
.rake:2:in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks/documentation
.rake:2:in `<top (required)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:15:in `loa
d'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:15:in `blo
ck in <top (required)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:6:in `each
'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:6:in `<top
(required)>'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:215:
in `require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:215:
in `initialize_tasks'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:139:
in `load_tasks'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:77:i
n `method_missing'
C:/Users/kyle/Documents/Sites/blog/Rakefile:7:in `<top (required)>'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2373:in `load'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
C:/Ruby192/lib/ruby/1.9.1/rake.rb:1991:in `run'
C:/Ruby192/bin/rake:31:in `<main>'
getting-started/installation/windows.txt · Last modified: 2011/06/25 16:49 by kalm42
Discussion
I am refering this article as the requirement of my ruby on rails tutorial - http://conceptspace.wikidot.com/blog:15
You can also install Luis Lavena's new RubyInstaller for Windows. It's currently marked RC1, but stable.
http://rubyinstaller.org/
Be sure to install the DevKit available in the download section to install important gems.
Hello, I install ruby, then Rails and mysql. I change database file,but then Ror stop work and generate error: “Status: 500 Internal Server Error
How can i fix that?
It seems that I also needed to run
in order for my version to work.
hi, I'm an absolute beginner and having some trouble. whenever I type in “config” I get “config: The Perl interpreter could not be found.”
Upto now I have done everything according to above. I want to edit database.yml. how can I do that? what's going wrong?
And: when typing in “rake db:migrate” it says “rakefile not found” Again: what's going on? I'm thankful for help!
'config' does not relate to a command, it is the path to the database.yml file: [RAILS_APP_PATH]\config\database.yml. When running “rake db:migrate”, make sure your current working directory is [RAILS_APP_PATH].
Hi
I installed Ruby using Rubyinstaller-1.9.2-p0.exe & sqlite3-ruby and rails3 Getting error while executing rails myprojectname, “usage: rails new APP_PATH [options]”
So i gave “rails new myprojectname” & after going into the directory “myprojectname”, i dont see any “server” file under the “script” folder.
ruby: no such file or directory – script/server <LoadError>
I have only one file under “script” folder and it is “rails” Please help what is wrong i am doing here. Thanks AKS Novice Railer
The documentation here did not apply to Rails 3. Use 'ruby rails server' instead.
JRuby might be a better solution for ruby development on windows.
I am relatively new to Ruby on Rails and I have been experiencing this error. I'm using Windows 7 Ultimate, ruby 1.9.2p180 (2011-02-18) [i386-mingw32], Rails 3.0.9. DevKit installed, mysql (1, not 2), and the .dll from MySQL 5.0 copied into the bin folder.
C:\Users\kyle\Documents\Sites\blog>rake db:create (in C:/Users/kyle/Documents/Sites/blog) rake aborted! uninitialized constant Rake::DSL C:/Ruby192/lib/ruby/1.9.1/rake.rb:2482:in `const_missing' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:8:in `<class: TaskLib>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:6:in `<module :Rake>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:3:in `<top (r equired)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.6.1/lib/rdoc/task.rb:37:in `require' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdoc-3.6.1/lib/rdoc/task.rb:37:in `<top (req uired)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks/documentation .rake:2:in `require' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks/documentation .rake:2:in `<top (required)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:15:in `loa d' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:15:in `blo ck in <top (required)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:6:in `each ' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/tasks.rb:6:in `<top (required)>' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:215: in `require' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:215: in `initialize_tasks' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:139: in `load_tasks' C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.9/lib/rails/application.rb:77:i n `method_missing' C:/Users/kyle/Documents/Sites/blog/Rakefile:7:in `<top (required)>' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2373:in `load' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling' C:/Ruby192/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile' C:/Ruby192/lib/ruby/1.9.1/rake.rb:1991:in `run' C:/Ruby192/bin/rake:31:in `<main>'