deepika@linux-yq3p:~> sudo zypper in ruby devel_ruby
root's password:
Loading repository data...
Reading installed packages...
'ruby' is already installed.
'devel_ruby' not found.
Resolving package dependencies...
Nothing to do.
----------------------------------------------------
Installing RubyGems :
{ RubyGems is a package management tool, much like zypper. It’s got very simple syntax and installation is straightforward as well.}
deepika@linux-yq3p:~> sudo zypper in rubygems
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW packages are going to be installed:
ruby-devel rubygems
2 new packages to install.
Overall download size: 1.5 MiB. After the operation, additional 6.2 MiB will be
used.
Continue? [y/n/?] (y): y
Retrieving package ruby-devel-1.8.7.p72-7.3.i586 (1/2), 955.0 KiB (2.8 MiB unpac
ked)
Retrieving: ruby-devel-1.8.7.p72-7.3.i586.rpm [done (0 B/s)]
Installing: ruby-devel-1.8.7.p72-7.3 [done]
Retrieving package rubygems-1.3.1-4.3.i586 (2/2), 628.0 KiB (3.5 MiB unpacked)
Retrieving: rubygems-1.3.1-4.3.i586.rpm [done]
Installing: rubygems-1.3.1-4.3 [done]
----------------------------------------------------------
Use ruby gems to install Rails:
{You’ll need to install Ruby, ruby-sqlite, and ruby gems. done prev}
deepika@linux-yq3p:~> sudo gem install rails
root's password:
Successfully installed rake-0.8.7
Successfully installed activesupport-2.3.5
Successfully installed activerecord-2.3.5
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.5
Successfully installed actionmailer-2.3.5
Successfully installed activeresource-2.3.5
Successfully installed rails-2.3.5
8 gems installed
Installing ri documentation for rake-0.8.7...
Installing ri documentation for activesupport-2.3.5...
Installing ri documentation for activerecord-2.3.5...
Installing ri documentation for rack-1.0.1...
Installing ri documentation for actionpack-2.3.5...
Installing ri documentation for actionmailer-2.3.5...
Installing ri documentation for activeresource-2.3.5...
Installing RDoc documentation for rake-0.8.7...
Installing RDoc documentation for activesupport-2.3.5...
Installing RDoc documentation for activerecord-2.3.5...
Installing RDoc documentation for rack-1.0.1...
Installing RDoc documentation for actionpack-2.3.5...
Installing RDoc documentation for actionmailer-2.3.5...
Installing RDoc documentation for activeresource-2.3.5...
------------------------------------------------
Rails should be all installed and ready to go. You can test it out by creating a new project:
deepika@linux-yq3p:~> sudo zypper in rubygems
Loading repository data...
Reading installed packages...
deepika@linux-yq3p:~> rails foobar
create
create app/controllers
create app/helpers
create app/models
create app/views/layouts
create config/environments
create config/initializers
create config/locales
create db
create doc
create lib
create lib/tasks
create log
create public/images
create public/javascripts
create public/stylesheets
create script/performance
create test/fixtures
create test/functional
create test/integration
create test/performance
create test/unit
create vendor
create vendor/plugins
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create Rakefile
create README
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create config/database.yml
create config/routes.rb
create config/locales/en.yml
create db/seeds.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_rails_defaults.rb
create config/initializers/session_store.rb
create config/environment.rb
create config/boot.rb
create config/environments/production.rb
create config/environments/development.rb
create config/environments/test.rb
create script/about
create script/console
create script/dbconsole
create script/destroy
create script/generate
create script/runner
create script/server
create script/plugin
create script/performance/benchmarker
create script/performance/profiler
create test/test_helper.rb
create test/performance/browsing_test.rb
create public/404.html
create public/422.html
create public/500.html
create public/index.html
create public/favicon.ico
create public/robots.txt
create public/images/rails.png
create public/javascripts/prototype.js
create public/javascripts/effects.js
create public/javascripts/dragdrop.js
create public/javascripts/controls.js
create public/javascripts/application.js
create doc/README_FOR_APP
create log/server.log
create log/production.log
create log/development.log
create log/test.log
root's password:
Loading repository data...
Reading installed packages...
'ruby' is already installed.
'devel_ruby' not found.
Resolving package dependencies...
Nothing to do.
----------------------------------------------------
Installing RubyGems :
{ RubyGems is a package management tool, much like zypper. It’s got very simple syntax and installation is straightforward as well.}
deepika@linux-yq3p:~> sudo zypper in rubygems
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW packages are going to be installed:
ruby-devel rubygems
2 new packages to install.
Overall download size: 1.5 MiB. After the operation, additional 6.2 MiB will be
used.
Continue? [y/n/?] (y): y
Retrieving package ruby-devel-1.8.7.p72-7.3.i586 (1/2), 955.0 KiB (2.8 MiB unpac
ked)
Retrieving: ruby-devel-1.8.7.p72-7.3.i586.rpm [done (0 B/s)]
Installing: ruby-devel-1.8.7.p72-7.3 [done]
Retrieving package rubygems-1.3.1-4.3.i586 (2/2), 628.0 KiB (3.5 MiB unpacked)
Retrieving: rubygems-1.3.1-4.3.i586.rpm [done]
Installing: rubygems-1.3.1-4.3 [done]
----------------------------------------------------------
Use ruby gems to install Rails:
{You’ll need to install Ruby, ruby-sqlite, and ruby gems. done prev}
deepika@linux-yq3p:~> sudo gem install rails
root's password:
Successfully installed rake-0.8.7
Successfully installed activesupport-2.3.5
Successfully installed activerecord-2.3.5
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.5
Successfully installed actionmailer-2.3.5
Successfully installed activeresource-2.3.5
Successfully installed rails-2.3.5
8 gems installed
Installing ri documentation for rake-0.8.7...
Installing ri documentation for activesupport-2.3.5...
Installing ri documentation for activerecord-2.3.5...
Installing ri documentation for rack-1.0.1...
Installing ri documentation for actionpack-2.3.5...
Installing ri documentation for actionmailer-2.3.5...
Installing ri documentation for activeresource-2.3.5...
Installing RDoc documentation for rake-0.8.7...
Installing RDoc documentation for activesupport-2.3.5...
Installing RDoc documentation for activerecord-2.3.5...
Installing RDoc documentation for rack-1.0.1...
Installing RDoc documentation for actionpack-2.3.5...
Installing RDoc documentation for actionmailer-2.3.5...
Installing RDoc documentation for activeresource-2.3.5...
------------------------------------------------
Rails should be all installed and ready to go. You can test it out by creating a new project:
deepika@linux-yq3p:~> sudo zypper in rubygems
Loading repository data...
Reading installed packages...
deepika@linux-yq3p:~> rails foobar
create
create app/controllers
create app/helpers
create app/models
create app/views/layouts
create config/environments
create config/initializers
create config/locales
create db
create doc
create lib
create lib/tasks
create log
create public/images
create public/javascripts
create public/stylesheets
create script/performance
create test/fixtures
create test/functional
create test/integration
create test/performance
create test/unit
create vendor
create vendor/plugins
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create Rakefile
create README
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create config/database.yml
create config/routes.rb
create config/locales/en.yml
create db/seeds.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_rails_defaults.rb
create config/initializers/session_store.rb
create config/environment.rb
create config/boot.rb
create config/environments/production.rb
create config/environments/development.rb
create config/environments/test.rb
create script/about
create script/console
create script/dbconsole
create script/destroy
create script/generate
create script/runner
create script/server
create script/plugin
create script/performance/benchmarker
create script/performance/profiler
create test/test_helper.rb
create test/performance/browsing_test.rb
create public/404.html
create public/422.html
create public/500.html
create public/index.html
create public/favicon.ico
create public/robots.txt
create public/images/rails.png
create public/javascripts/prototype.js
create public/javascripts/effects.js
create public/javascripts/dragdrop.js
create public/javascripts/controls.js
create public/javascripts/application.js
create doc/README_FOR_APP
create log/server.log
create log/production.log
create log/development.log
create log/test.log
Comments