Ruby on Rails

Installation story on Windows.
C:Documents and Settingsuser>D:

D:>cd D:serverxampprubyRuby192

D:serverxampprubyRuby192>gem install rails –include-dependencies
INFO:  `gem install -y` is now default and will be removed
INFO:  use –ignore-dependencies to install only the gems you list
ERROR:  Error installing rails:
The ‘json’ native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from ‘http://rubyinstaller.org/downloads’ and follow the instructions
at ‘http://github.com/oneclick/rubyinstaller/wiki/Development-Kit’

D:serverxampprubyRuby192>cd..

D:serverxamppruby>cd devkit

D:serverxampprubydevkit>ruby dk.rb init
[INFO] found RubyInstaller v1.9.2 at D:/server/xampp/ruby/Ruby192

Initialization complete! Please review and modify the auto-generated
‘config.yml’ file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.

D:serverxampprubydevkit>ruby dk.rb install
Invalid configuration or no Rubies listed. Please fix ‘config.yml’
and rerun ‘ruby dk.rb install’

D:serverxampprubydevkit>ruby dk.rb install
[INFO] Updating convenience notice gem override for ‘D:/server/xampp/ruby/Ruby19
2’
[INFO] Installing ‘D:/server/xampp/ruby/Ruby192/lib/ruby/site_ruby/devkit.rb’

D:serverxampprubydevkit>rails new D:/server/webprojekt/rubys
‘rails’ is not recognized as an internal or external command,
operable program or batch file.

D:serverxampprubydevkit>ruby dk.rb install
[INFO] Skipping existing gem override for ‘D:/server/xampp/ruby/Ruby192’
[WARN] Skipping existing DevKit helper library for ‘D:/server/xampp/ruby/Ruby192

D:serverxampprubydevkit>gem install rdiscount –platform=ruby
Fetching: rdiscount-1.6.8.gem (100%)
Temporarily enhancing PATH to include DevKit…
Building native extensions.  This could take a while…
Successfully installed rdiscount-1.6.8
1 gem installed
Installing ri documentation for rdiscount-1.6.8…
Installing RDoc documentation for rdiscount-1.6.8…

D:serverxampprubydevkit>rails new D:/server/webprojekt/rubys
‘rails’ is not recognized as an internal or external command,
operable program or batch file.

D:serverxampprubydevkit>cd..

D:serverxamppruby>dir
Volume in drive D has no label.
Volume Serial Number is 7E63-E032

Directory of D:serverxamppruby

10/14/2011  10:02 PM    <DIR>          .
10/14/2011  10:02 PM    <DIR>          ..
10/14/2011  10:03 PM    <DIR>          devkit
10/14/2011  03:37 PM    <DIR>          Ruby192
0 File(s)              0 bytes
4 Dir(s)  195,800,772,608 bytes free

D:serverxamppruby>cd Ruby192

D:serverxampprubyRuby192>cd bin

D:serverxampprubyRuby192bin>rails new D:/server/webprojekt/rubys
‘rails’ is not recognized as an internal or external command,
operable program or batch file.

D:serverxampprubyRuby192bin>rails
‘rails’ is not recognized as an internal or external command,
operable program or batch file.

D:serverxampprubyRuby192bin>gem install rails –include-dependencies
INFO:  `gem install -y` is now default and will be removed
INFO:  use –ignore-dependencies to install only the gems you list
Temporarily enhancing PATH to include DevKit…
Building native extensions.  This could take a while…
Fetching: rdoc-3.10.gem (100%)
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data –install
= 1.9.1 : gem install rdoc-data; rdoc-data –install
>= 1.9.2 : nothing to do! Yay!
Fetching: railties-3.1.1.gem (100%)
Fetching: bundler-1.0.21.gem (100%)
Fetching: rails-3.1.1.gem (100%)
Successfully installed json-1.6.1
Successfully installed rdoc-3.10
Successfully installed railties-3.1.1
Successfully installed bundler-1.0.21
Successfully installed rails-3.1.1
5 gems installed
Installing ri documentation for json-1.6.1…
Installing ri documentation for rdoc-3.10…
Installing ri documentation for railties-3.1.1…
Installing ri documentation for bundler-1.0.21…
Installing ri documentation for rails-3.1.1…
Installing RDoc documentation for json-1.6.1…
Installing RDoc documentation for rdoc-3.10…
Installing RDoc documentation for railties-3.1.1…
Installing RDoc documentation for bundler-1.0.21…
Installing RDoc documentation for rails-3.1.1…

D:serverxampprubyRuby192bin>

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress

Translate »