Archive for the ‘Rails’ Category

Latest Django, Rails, Ubuntu, Fedora, WordPress versions now available

Saturday, May 5th, 2012

Now available

And in the selectable dropdown choices:

  • Ubuntu 12.04 has now been vetted by our staff and is the default / recommended Ubuntu version
  • Ubuntu 11.10 is also still available
  • Django 1.4 is now available and is the default / recommended Django version
  • Django 1.5 dev / trunk available on request
  • Rails 3.2.3 now available
  • Rails 4.0.0Beta is available on request
  • Fedora 16 is now available
  • Fedora 17Beta is now available
  • Pyramid / Pylons is now available
  • WordPress 3.3.2 now available

Note that all the above are server versions – for those who want Desktop versions available via RDP/NX/VNC:

  • Ubuntu 11.04 is also available as it’s the last version that supports a proper Desktop (Gnome2 aka Gnome Classic) out of the box.
  • Cinnamon is available on request (Gnome2 workalike, as an alternative to Unity) on newer Ubuntu desktop installations.

j

Rails 3.0 Now Available!

Tuesday, August 31st, 2010

Ruby on Rails 3.0 has finally been released, after two years of development:

http://weblog.rubyonrails.org/2010/8/29/rails-3-0-it-s-done

[UPDATED September 4th]

In addition, a Rails 2.3.9 maintenance release is out as of Sep 4th 2010:

http://weblog.rubyonrails.org/2010/9/4/ruby-on-rails-2-3-9-released

Just select from the dropdowns when you place your order –

Rails will be installed with Passenger, and whatever other config you desire, just put it in the “Notes” field when you place your order.

Rails 3.0 Beta 4, 2.3.8 now available

Thursday, June 10th, 2010

Rails 2.3.8 has been out since May, and 3.0 Beta 4 is now available:

http://weblog.rubyonrails.org/2010/6/8/rails-3-0-beta-4-now-rc-in-days

Just select from the dropdowns when you place your order:

  • The 2.3.x series to get 2.3.8
  • The 3.0 Beta / RC to get the latest & greatest beta or Release Candidate.

Rails will be installed with Passenger, and whatever other config you desire, just put it in the “Notes” field when you place your order.

Ruby on Rails 3.0 Beta Now Available!

Friday, March 5th, 2010

The upcoming Ruby on Rails 3.0 Beta is now available for ordering here at Libre Hosting.

http://guides.rails.info/3_0_release_notes.html

Simply ask for “Rails3″ in the “Notes” field when you place your order –

Your VM will be set up with Rails 3.0 Beta and Ruby 1.87 (or later), and will be updated to the final 3.0 release when available.

As always, the actual 3.0 release itself will be put into our usual dropdown menus when the final release occurs. In the meantime, just use the “Notes” field.

j

Rails 2.3.5 now available

Sunday, December 27th, 2009

Rails 2.3.5 now available

Please note that Rails 2.3.5 is also now available from the dropdowns when you place your order!

Simply choose 2.3.x, and you get 2.3.5 as of now – if you really want  another version, you can simply put it in the “Notes” field when you place your order).

Also, our default / recommended Rails install  has been changed to Apache with mod_rails aka Phusion Passenger.

As always, you can add any custom plugins you’d like us to install into the “Notes” field when you place your order – and we’ll get it done for you.

j

Phusion Passenger (mod_rails) Now Available! (And Rails 2.3.3!)

Friday, July 31st, 2009

phusion-passenger-collage

Motivation

So, after numerous issues with Mongrel and Mongrel Cluster, as reported in our last Rails-related post, and after following all the buzz, we decided to give Phusion Passenger a try – we were not disappointed!

Don’t get us wrong, we still prefer Mongrel as our development server, and there are instances where Mongrel Cluster makes lots of sense (load balancing, for example), but we wanted to explore the reputed simplicity of Passenger –

..And we wanted to multiplex multiple websites onto one Apache instance, simply and easily!

Simplicity

So, we followed the gem-basedinstallation  instructions here: http://www.modrails.com/install.html

After installation with Gem, the nicely-written text mode installer guided us through the install process for the ‘dev’ packages, and then compiled itself from source – Very nice! A polished touch!

Done!

So after one global include in /etc/apache2/conf.d/passenger:

LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.4
PassengerRuby /usr/bin/ruby1.8

We were able to use multiple files in ‘sites-available’ of the format:

<VirtualHost *:80>
    ServerName www.yourhost.com
    DocumentRoot /somewhere/public
    #                       ^-- be sure to point to 'public' within your rails app!
</VirtualHost>

To easily achieve multiple rails apps, with disparate domains, served by the single instance, reasonably painlessly – Note that you do have to have the domains point to the correct IP address, of course :-)

The Verdict

Our verdict: All in all pretty painless and professional – and the benchmarks seem to support great performance –

So, if you want us to install Passenger for you, just indicate this in the “Notes” field when you place your order, and we’ll get it done for you.

We will likely soon make it the default, if no objections are heard from you, our customers, in the near future.

Notes

Please note that we can do this on top of either Turnkey rails, or our regular Rails instance.

Rails 2.3.3 now available

Please note that Rails 2.3.3 is also now available from the dropdowns when you place your order!

Nginx

nginx_passenger_eyecatcherNote also that Phusion Passenger also offers an Nginx version – we will be happy to install the highly acclaimed Nginx web server, along with the corresponding version of Phusion Passenger, via custom quote – Please contact us today regarding getting this set up for you!

j

Turnkey Rails 2.3.2 Now Available

Thursday, June 25th, 2009

rails-turnkey

Ruby on Rails 2.3.2

We are pleased to announce the availability of the Ruby on Rails 2.3 stack (currently 2.3.2, as of this writing).

We have opted to try out the excellent (Ubuntu-based) Turnkey Linux software appliance for Rails 2.3, rather than using our own installation and provisioning scripts, and so far we have had excellent results.

(We have also had good results with the Turnkey Drupal appliance as well).

Things we liked about the Turnkey appliance:

  • Preconfigured SSL / SSH support – all keys & certs  generated during installation, set up w/Apache
  • Security-related updates applied daily
  • Webmin preinstalled and precofigured for Apache, MySql, etc
  • RubyGems package manager installed the way we recommend – with Ruby managed by apt, but Gems installed from source.
  • Just as we say: “Use gem for managing Rails gems, and apt for everything else.”

Things we had trouble with or had to fix:

  • The 3-node mongrel cluster was cumbersome to administer, and difficult to modify for new rails apps from the “Example” rails app preinstalled by Turnkey.  Either No example app, or a more flexible way to add new apps would have been better.
  • No option for, or mention of Phusion Passenger.
  • SQLite and git were not installed
  • Our regular VMs do a reconfigure tzdata on first startup, so you don’t forget to set your timsezone correctly

Additional notes and packages we installed:

  • mc – Midnight Commander – tried-n-true text mode dual-pane file manager
  • file – Without this, obscure dependencies remain unmet for builds, etc
  • sqlite3, libsqlite3-ruby - should be installed, even if MySql is the default db (Postgres might be nice too)
  • git-core should be installed, given the percentage if Rails plugins that use it, plus gems can install from git, but only if it’s installed!
  • lynx, other viewers for mc – important for reading docs in console
/etc/init.d/mongrel_cluster stop

didn’t work, and had to manually stop the clusters on ports 8000, 8001, & 8002

Had to manually do things like:

mkdir -p tmp/pids

and

chown -R www-data:www-data *

on certain directories, etc, to make certain core components work, that shouldn’t have been necessary.

Anyway, these considerations are relatively minor, and are all addressed now, and working well – just select “Rails 2.3″  from the dropdown when you place your order –

Plus, look for a future update where we integrate Phusion Passeneger with your VM – Let us know what you prefer, please enter which deployment option you prefer for Rails in the comments on this post, and why –

  • Mongrel, Mongrel cluster
  • Phusion Passenger/mod_rails
  • mod_wsgi
  • Apache
  • nginx
  • Lighttpd
  • etc

…and we’ll listen!

j

Ubuntu 8.04 Hardy Now Available!

Wednesday, April 30th, 2008

hardyheron3-mediumThe latest release of Ubuntu is out, Hardy Heron 8.04 LTS, and it’s gotten Great Reviews so far –

And we now have our vMachine available and ready to go, with the usual package buildouts of our favorite platforms.

We are finalizing the installation scripts and packages, but currently available are Rails 2.02 and Django 0.97-SVN with others forthcoming – watch this space for details on finalized package lists.  (Our previous postings on Django and Rails indicate some of the usual choices)

Also, as always, we use the KVM virtualization technology, which provides a number of technological advantages over the other v12n solutions.

Our vMachine is based on the minimal footprint of the Ubuntu JeOS release, which is now Fully optimized for KVM, including VirtIO, according to Canonical/Ubuntu –  we have a mere 700MB basic footprint for the guest, with a full array of services including ssh.

With your favorite stack from us, your vMachine will still typically be under 900MB, even with xrdp  for your remote desktop XWindows access!

We can host your site / solution and provide any technical assistance and consulting help which you may need.

New: We can also host your desktop!

In addition to the usual VNC (and of course SSH offerings, including X) We offer RDP via XRDP, and we are working on a fully open-source version of the GPLed NX NoMachine technology – and we also hope to be able to offer Qumranet’s (A cool vendor) SolidICE  technology – watch for an announcement.

Ruby on Rails 2.02 / Ubu7.10 Now Available!

Sunday, March 9th, 2008

Railsters,

We have launched an interim release of the latest Ruby on Rails 2.02 platform on Ubuntu Gutsy 7.10.

Although our longer-term plan is to provide Rails 2.02 on the more recent Ubuntu Hardy 8.04 LTS / Debian-based platform, this release supports the latest Rails with the usual plugins and support you’ve come to expect from Libre Hosting.

We follow the recommended installation procedure for Ubuntu with Rails, found here: https://help.ubuntu.com/community/RubyOnRails

We also include many defaults and well-chosen packages by us as well as favorites within the community, such as Mongrel, MySQL, OpenSSL, and so forth.

Here’s the way we installed it – let’s start with a few useful utilities, ssh, mysql, lighty, followed by basic ruby and gems only:

apt-get update
apt-get -y install wget mc ssh curl lynx zip unzip arj rar unrar rsync rzip build-essential
apt-get -y install mysql-server libmysqlclient15-dev lighttpd
apt-get -y install ruby rdoc irb libyaml-ruby libzlib-ruby ri libopenssl-ruby ruby1.8-dev
apt-get -y install rubygems

Note that we only want the basic ruby language install – everything else will be maintained by gems, including rails, so we install only rubygems itself from Debian/Ubuntu, and install Rails (and any/all other Ruby dependencies) directly via gems. Be sure you don’t step on gems by using apt-get to install ruby packages! Always use gems.

Also, note that the update –system updates the libraries to gems’ dependency needs, not Ubuntu’s – so now further ruby (and Rails-related) packages will install consistently with gems.

Here we go:

gem update –system
gem install rails -y –include-dependencies
gem install mongrel

apt-get -y install libmysql-ruby
gem install mysql

apt-get -y install imagemagick libmagick9-dev
gem install rmagick

gem install capistrano
gem install puppet

NOTE: RMagick does not install due to version conflicts with the older version of ImageMagick found in Ubuntu7.10. We will address this issue shortly.

PostgreSQL and/or SQLite3 can also be installed on request – as well as GeoKit, and the Rails examples.

Thanks,
LH Staff

Transcript of Ubuntu 7.10 Gutsy Ruby On Rails vMachine Install

Friday, November 30th, 2007

Here’s an example transcript of a RoR install on Ubuntu Gutsy, from our real-time-install script:

Get:1 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Get:2 http://archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://archive.ubuntu.com gutsy/main Translation-en_US
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
Get:3 http://security.ubuntu.com gutsy-security Release [51.2kB]
Ign http://archive.ubuntu.com gutsy/restricted Translation-en_US
Ign http://archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://archive.ubuntu.com gutsy/multiverse Translation-en_US
Get:4 http://archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://archive.ubuntu.com gutsy-updates/main Translation-en_US
Ign http://archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com gutsy-updates/universe Translation-en_US
Ign http://archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
Hit http://archive.ubuntu.com gutsy Release
Get:5 http://archive.ubuntu.com gutsy-updates Release [58.5kB]
Get:6 http://security.ubuntu.com gutsy-security/main Packages [73.5kB]
Hit http://archive.ubuntu.com gutsy/main Packages
Hit http://archive.ubuntu.com gutsy/restricted Packages
Hit http://archive.ubuntu.com gutsy/universe Packages
Hit http://archive.ubuntu.com gutsy/multiverse Packages
Hit http://archive.ubuntu.com gutsy/main Sources
Hit http://archive.ubuntu.com gutsy/restricted Sources
Hit http://archive.ubuntu.com gutsy/universe Sources
Hit http://archive.ubuntu.com gutsy/multiverse Sources
Get:7 http://archive.ubuntu.com gutsy-updates/main Packages [245kB]
Get:8 http://security.ubuntu.com gutsy-security/restricted Packages [14B]
Get:9 http://security.ubuntu.com gutsy-security/universe Packages [45.6kB]
Get:10 http://security.ubuntu.com gutsy-security/multiverse Packages [2903B]
Get:11 http://security.ubuntu.com gutsy-security/main Sources [13.3kB]
Get:12 http://security.ubuntu.com gutsy-security/restricted Sources [14B]
Get:13 http://security.ubuntu.com gutsy-security/universe Sources [6227B]
Get:14 http://security.ubuntu.com gutsy-security/multiverse Sources [833B]
Get:15 http://archive.ubuntu.com gutsy-updates/restricted Packages [4263B]
Get:16 http://archive.ubuntu.com gutsy-updates/universe Packages [72.4kB]
Get:17 http://archive.ubuntu.com gutsy-updates/multiverse Packages [9942B]
Get:18 http://archive.ubuntu.com gutsy-updates/main Sources [68.2kB]
Get:19 http://archive.ubuntu.com gutsy-updates/restricted Sources [937B]
Get:20 http://archive.ubuntu.com gutsy-updates/universe Sources [11.5kB]
Get:21 http://archive.ubuntu.com gutsy-updates/multiverse Sources [1883B]
Fetched 667kB in 6s (103kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
wget is already the newest version.
mc is already the newest version.
ssh is already the newest version.
rsync is already the newest version.
The following extra packages will be installed:
libcurl3
The following NEW packages will be installed:
arj curl libcurl3 lynx rar rzip unrar unzip zip
0 upgraded, 9 newly installed, 0 to remove and 26 not upgraded.
Need to get 2621kB of archives.
After unpacking 8102kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com gutsy/universe arj 3.10.22-3 [218kB]
Get:2 http://archive.ubuntu.com gutsy/main libcurl3 7.16.4-2ubuntu1 [182kB]
Get:3 http://archive.ubuntu.com gutsy/main curl 7.16.4-2ubuntu1 [175kB]
Get:4 http://archive.ubuntu.com gutsy/main lynx 2.8.6-2ubuntu1 [1166kB]
Get:5 http://archive.ubuntu.com gutsy/multiverse rar 1:3.7b1-2 [506kB]
Get:6 http://archive.ubuntu.com gutsy/universe rzip 2.1-1 [17.2kB]
Get:7 http://archive.ubuntu.com gutsy/multiverse unrar 1:3.7.3-1.1 [97.0kB]
Get:8 http://archive.ubuntu.com gutsy/main unzip 5.52-10ubuntu1 [154kB]
Get:9 http://archive.ubuntu.com gutsy/main zip 2.32-1 [106kB]
Fetched 2621kB in 9s (266kB/s)
Selecting previously deselected package arj.
(Reading database … 29642 files and directories currently installed.)
Unpacking arj (from …/arj_3.10.22-3_i386.deb) …
Selecting previously deselected package libcurl3.
Unpacking libcurl3 (from …/libcurl3_7.16.4-2ubuntu1_i386.deb) …
Selecting previously deselected package curl.
Unpacking curl (from …/curl_7.16.4-2ubuntu1_i386.deb) …
Selecting previously deselected package lynx.
Unpacking lynx (from …/lynx_2.8.6-2ubuntu1_i386.deb) …
Selecting previously deselected package rar.
Unpacking rar (from …/rar_1%3a3.7b1-2_i386.deb) …
Selecting previously deselected package rzip.
Unpacking rzip (from …/archives/rzip_2.1-1_i386.deb) …
Selecting previously deselected package unrar.
Unpacking unrar (from …/unrar_1%3a3.7.3-1.1_i386.deb) …
Selecting previously deselected package unzip.
Unpacking unzip (from …/unzip_5.52-10ubuntu1_i386.deb) …
Selecting previously deselected package zip.
Unpacking zip (from …/archives/zip_2.32-1_i386.deb) …
Setting up arj (3.10.22-3) …
Setting up libcurl3 (7.16.4-2ubuntu1) …

Setting up curl (7.16.4-2ubuntu1) …
Setting up lynx (2.8.6-2ubuntu1) …

Setting up rar (1:3.7b1-2) …
Setting up rzip (2.1-1) …
Setting up unrar (1:3.7.3-1.1) …
Setting up unzip (5.52-10ubuntu1) …
Setting up zip (2.32-1) …
Processing triggers for libc6 …
ldconfig deferred processing now taking place
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
irb1.8 libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 rdoc1.8 ri1.8 ruby1.8
Suggested packages:
graphviz ruby1.8-examples
The following NEW packages will be installed:
irb irb1.8 libopenssl-ruby libopenssl-ruby1.8 libreadline-ruby1.8 libruby1.8 libyaml-ruby libzlib-ruby
rdoc rdoc1.8 ri ri1.8 ruby ruby1.8 ruby1.8-dev
0 upgraded, 15 newly installed, 0 to remove and 26 not upgraded.
Need to get 4994kB of archives.
After unpacking 54.7MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com gutsy/main libruby1.8 1.8.6.36-1ubuntu3 [1566kB]
Get:2 http://archive.ubuntu.com gutsy/main ruby1.8 1.8.6.36-1ubuntu3 [239kB]
Get:3 http://archive.ubuntu.com gutsy/universe libreadline-ruby1.8 1.8.6.36-1ubuntu3 [218kB]
Get:4 http://archive.ubuntu.com gutsy/universe irb1.8 1.8.6.36-1ubuntu3 [258kB]
Get:5 http://archive.ubuntu.com gutsy/universe irb 1.8.2-1 [3660B]
Get:6 http://archive.ubuntu.com gutsy/universe libopenssl-ruby1.8 1.8.6.36-1ubuntu3 [316kB]
Get:7 http://archive.ubuntu.com gutsy/universe libopenssl-ruby 1.0.0+ruby1.8.2-1 [3568B]
Get:8 http://archive.ubuntu.com gutsy/universe libyaml-ruby 1.8.2-1 [3688B]
Get:9 http://archive.ubuntu.com gutsy/universe libzlib-ruby 0.6.0+ruby1.8.2-1 [3558B]
Get:10 http://archive.ubuntu.com gutsy/universe rdoc1.8 1.8.6.36-1ubuntu3 [331kB]
Get:11 http://archive.ubuntu.com gutsy/universe rdoc 1.8.2-1 [3852B]
Get:12 http://archive.ubuntu.com gutsy/universe ri1.8 1.8.6.36-1ubuntu3 [1285kB]
Get:13 http://archive.ubuntu.com gutsy/universe ri 1.8.2-1 [3762B]
Get:14 http://archive.ubuntu.com gutsy/main ruby 1.8.2-1 [19.0kB]
Get:15 http://archive.ubuntu.com gutsy/main ruby1.8-dev 1.8.6.36-1ubuntu3 [741kB]
Fetched 4994kB in 13s (364kB/s)
Selecting previously deselected package libruby1.8.
(Reading database … 29822 files and directories currently installed.)
Unpacking libruby1.8 (from …/libruby1.8_1.8.6.36-1ubuntu3_i386.deb) …
Selecting previously deselected package ruby1.8.
Unpacking ruby1.8 (from …/ruby1.8_1.8.6.36-1ubuntu3_i386.deb) …
Selecting previously deselected package libreadline-ruby1.8.
Unpacking libreadline-ruby1.8 (from …/libreadline-ruby1.8_1.8.6.36-1ubuntu3_i386.deb) …
Selecting previously deselected package irb1.8.
Unpacking irb1.8 (from …/irb1.8_1.8.6.36-1ubuntu3_all.deb) …
Selecting previously deselected package irb.
Unpacking irb (from …/archives/irb_1.8.2-1_all.deb) …
Selecting previously deselected package libopenssl-ruby1.8.
Unpacking libopenssl-ruby1.8 (from …/libopenssl-ruby1.8_1.8.6.36-1ubuntu3_i386.deb) …
Selecting previously deselected package libopenssl-ruby.
Unpacking libopenssl-ruby (from …/libopenssl-ruby_1.0.0+ruby1.8.2-1_all.deb) …
Selecting previously deselected package libyaml-ruby.
Unpacking libyaml-ruby (from …/libyaml-ruby_1.8.2-1_all.deb) …
Selecting previously deselected package libzlib-ruby.
Unpacking libzlib-ruby (from …/libzlib-ruby_0.6.0+ruby1.8.2-1_all.deb) …
Selecting previously deselected package rdoc1.8.
Unpacking rdoc1.8 (from …/rdoc1.8_1.8.6.36-1ubuntu3_all.deb) …
Selecting previously deselected package rdoc.
Unpacking rdoc (from …/archives/rdoc_1.8.2-1_all.deb) …
Selecting previously deselected package ri1.8.
Unpacking ri1.8 (from …/ri1.8_1.8.6.36-1ubuntu3_all.deb) …
Selecting previously deselected package ri.
Unpacking ri (from …/archives/ri_1.8.2-1_all.deb) …
Selecting previously deselected package ruby.
Unpacking ruby (from …/archives/ruby_1.8.2-1_all.deb) …
Selecting previously deselected package ruby1.8-dev.
Unpacking ruby1.8-dev (from …/ruby1.8-dev_1.8.6.36-1ubuntu3_i386.deb) …
Setting up libruby1.8 (1.8.6.36-1ubuntu3) …

Setting up ruby1.8 (1.8.6.36-1ubuntu3) …
Setting up libreadline-ruby1.8 (1.8.6.36-1ubuntu3) …
Setting up irb1.8 (1.8.6.36-1ubuntu3) …

Setting up irb (1.8.2-1) …
Setting up libopenssl-ruby1.8 (1.8.6.36-1ubuntu3) …
Setting up libopenssl-ruby (1.0.0+ruby1.8.2-1) …
Setting up libyaml-ruby (1.8.2-1) …
Setting up libzlib-ruby (0.6.0+ruby1.8.2-1) …
Setting up rdoc1.8 (1.8.6.36-1ubuntu3) …
Setting up rdoc (1.8.2-1) …
Setting up ri1.8 (1.8.6.36-1ubuntu3) …
Setting up ri (1.8.2-1) …
Setting up ruby (1.8.2-1) …
Setting up ruby1.8-dev (1.8.6.36-1ubuntu3) …
Processing triggers for libc6 …
ldconfig deferred processing now taking place
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libgems-ruby1.8
The following NEW packages will be installed:
libgems-ruby1.8 rubygems
0 upgraded, 2 newly installed, 0 to remove and 26 not upgraded.
Need to get 468kB of archives.
After unpacking 7918kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com gutsy/universe libgems-ruby1.8 0.9.4-1ubuntu1 [416kB]
Get:2 http://archive.ubuntu.com gutsy/universe rubygems 0.9.4-1ubuntu1 [51.5kB]
Fetched 468kB in 2s (173kB/s)
Selecting previously deselected package libgems-ruby1.8.
(Reading database … 41175 files and directories currently installed.)
Unpacking libgems-ruby1.8 (from …/libgems-ruby1.8_0.9.4-1ubuntu1_all.deb) …
Selecting previously deselected package rubygems.
Unpacking rubygems (from …/rubygems_0.9.4-1ubuntu1_all.deb) …
Setting up libgems-ruby1.8 (0.9.4-1ubuntu1) …
Setting up rubygems (0.9.4-1ubuntu1) …
Updating RubyGems…
Bulk updating Gem source index for: http://gems.rubyforge.org
Attempting remote update of rubygems-update
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find rubygems-update (> 0) in any repository
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rails-2.0.2
Successfully installed rake-0.8.1
Successfully installed activesupport-2.0.2
Successfully installed activerecord-2.0.2
Successfully installed actionpack-2.0.2
Successfully installed actionmailer-2.0.2
Successfully installed activeresource-2.0.2
Installing ri documentation for rake-0.8.1…
Installing ri documentation for activesupport-2.0.2…
Installing ri documentation for activerecord-2.0.2…
Installing ri documentation for actionpack-2.0.2…
Installing ri documentation for actionmailer-2.0.2…
Installing ri documentation for activeresource-2.0.2…
Installing RDoc documentation for rake-0.8.1…
Installing RDoc documentation for activesupport-2.0.2…
Installing RDoc documentation for activerecord-2.0.2…
Installing RDoc documentation for actionpack-2.0.2…
Installing RDoc documentation for actionmailer-2.0.2…
Installing RDoc documentation for activeresource-2.0.2…
Successfully installed rails-2.0.2
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
dpkg-dev g++ g++-4.1 libstdc++6-4.1-dev patch
Suggested packages:
debian-keyring g++-multilib g++-4.1-multilib gcc-4.1-doc libstdc++6-4.1-doc diff-doc
The following NEW packages will be installed:
build-essential dpkg-dev g++ g++-4.1 libstdc++6-4.1-dev patch
0 upgraded, 6 newly installed, 0 to remove and 26 not upgraded.
Need to get 3995kB of archives.
After unpacking 14.6MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com gutsy/main libstdc++6-4.1-dev 4.1.2-16ubuntu2 [1129kB]
Get:2 http://archive.ubuntu.com gutsy/main g++-4.1 4.1.2-16ubuntu2 [2600kB]
Get:3 http://archive.ubuntu.com gutsy/main g++ 4:4.1.2-9ubuntu2 [1440B]
Get:4 http://archive.ubuntu.com gutsy/main patch 2.5.9-4 [95.6kB]
Get:5 http://archive.ubuntu.com gutsy/main dpkg-dev 1.14.5ubuntu16 [162kB]
Get:6 http://archive.ubuntu.com gutsy/main build-essential 11.3ubuntu1 [7066B]
Fetched 3995kB in 12s (332kB/s)
Selecting previously deselected package libstdc++6-4.1-dev.
(Reading database … 42839 files and directories currently installed.)
Unpacking libstdc++6-4.1-dev (from …/libstdc++6-4.1-dev_4.1.2-16ubuntu2_i386.deb) …
Selecting previously deselected package g++-4.1.
Unpacking g++-4.1 (from …/g++-4.1_4.1.2-16ubuntu2_i386.deb) …
Selecting previously deselected package g++.
Unpacking g++ (from …/g++_4%3a4.1.2-9ubuntu2_i386.deb) …
Selecting previously deselected package patch.
Unpacking patch (from …/patch_2.5.9-4_i386.deb) …
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from …/dpkg-dev_1.14.5ubuntu16_all.deb) …
Selecting previously deselected package build-essential.
Unpacking build-essential (from …/build-essential_11.3ubuntu1_i386.deb) …
Setting up patch (2.5.9-4) …
Setting up dpkg-dev (1.14.5ubuntu16) …
Setting up libstdc++6-4.1-dev (4.1.2-16ubuntu2) …
Setting up g++-4.1 (4.1.2-16ubuntu2) …
Setting up g++ (4:4.1.2-9ubuntu2) …

Setting up build-essential (11.3ubuntu1) …
Select which gem to install for your platform (i486-linux)
1. mongrel 1.1.4 (x86-mswin32-60)
2. mongrel 1.1.4 (java)
3. mongrel 1.1.4 (ruby)
4. mongrel 1.1.3 (ruby)
5. mongrel 1.1.3 (i386-mswin32)
6. mongrel 1.1.3 (java)
7. Skip this gem
8. Cancel installation
> 3
Install required dependency gem_plugin? [Yn] y
Install required dependency daemons? [Yn]
Install required dependency fastthread? [Yn]
Select which gem to install for your platform (i486-linux)
1. fastthread 1.0.1 (mswin32)
2. fastthread 1.0.1 (ruby)
3. Skip this gem
4. Cancel installation
> 2
Building native extensions. This could take a while…
Install required dependency cgi_multipart_eof_fix? [Yn]
Building native extensions. This could take a while…
Successfully installed mongrel-1.1.4
Successfully installed gem_plugin-0.2.3
Successfully installed daemons-1.0.9
Successfully installed fastthread-1.0.1
Successfully installed cgi_multipart_eof_fix-2.5.0
Installing ri documentation for mongrel-1.1.4…
Installing ri documentation for gem_plugin-0.2.3…
Installing ri documentation for daemons-1.0.9…
Installing ri documentation for fastthread-1.0.1…

No definition for dummy_dump

No definition for dummy_dump

No definition for rb_queue_marshal_load

No definition for rb_queue_marshal_dump
Installing ri documentation for cgi_multipart_eof_fix-2.5.0…
Installing RDoc documentation for mongrel-1.1.4…
Installing RDoc documentation for gem_plugin-0.2.3…
Installing RDoc documentation for daemons-1.0.9…
Installing RDoc documentation for fastthread-1.0.1…

No definition for dummy_dump

No definition for dummy_dump

No definition for rb_queue_marshal_load

No definition for rb_queue_marshal_dump
Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0…
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libmysql-ruby1.8 libmysqlclient15off libnet-daemon-perl libplrpc-perl
mysql-client-5.0 mysql-common mysql-server-5.0
Suggested packages:
dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca
Recommended packages:
mailx
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libmysql-ruby libmysql-ruby1.8 libmysqlclient15off libnet-daemon-perl
libplrpc-perl mysql-client-5.0 mysql-common mysql-server mysql-server-5.0
0 upgraded, 11 newly installed, 0 to remove and 26 not upgraded.
Need to get 37.3MB of archives.
After unpacking 110MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com gutsy-updates/main mysql-common 5.0.45-1ubuntu3.1 [56.1kB]
Get:2 http://archive.ubuntu.com gutsy/main libnet-daemon-perl 0.38-1.1 [45.9kB]
Get:3 http://archive.ubuntu.com gutsy/main libplrpc-perl 0.2017-1.1 [35.0kB]
Get:4 http://archive.ubuntu.com gutsy/main libdbi-perl 1.57-1 [791kB]
Get:5 http://archive.ubuntu.com gutsy-updates/main libmysqlclient15off 5.0.45-1ubuntu3.1 [1867kB]
Get:6 http://archive.ubuntu.com gutsy/main libdbd-mysql-perl 4.004-2 [136kB]
Get:7 http://archive.ubuntu.com gutsy-updates/main mysql-client-5.0 5.0.45-1ubuntu3.1 [7493kB]
Get:8 http://archive.ubuntu.com gutsy-updates/main mysql-server-5.0 5.0.45-1ubuntu3.1 [26.8MB]
Get:9 http://archive.ubuntu.com gutsy/universe libmysql-ruby1.8 2.7.3-1 [51.1kB]
Get:10 http://archive.ubuntu.com gutsy/universe libmysql-ruby 2.7.3-1 [5058B]
Get:11 http://archive.ubuntu.com gutsy-updates/main mysql-server 5.0.45-1ubuntu3.1 [50.1kB]
Fetched 37.3MB in 35s (1038kB/s)
Preconfiguring packages …
Selecting previously deselected package mysql-common.
(Reading database … 43462 files and directories currently installed.)
Unpacking mysql-common (from …/mysql-common_5.0.45-1ubuntu3.1_all.deb) …
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from …/libnet-daemon-perl_0.38-1.1_all.deb) …
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from …/libplrpc-perl_0.2017-1.1_all.deb) …
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from …/libdbi-perl_1.57-1_i386.deb) …
Selecting previously deselected package libmysqlclient15off.
Unpacking libmysqlclient15off (from …/libmysqlclient15off_5.0.45-1ubuntu3.1_i386.deb) …
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from …/libdbd-mysql-perl_4.004-2_i386.deb) …
Selecting previously deselected package mysql-client-5.0.
Unpacking mysql-client-5.0 (from …/mysql-client-5.0_5.0.45-1ubuntu3.1_i386.deb) …
Setting up mysql-common (5.0.45-1ubuntu3.1) …
Selecting previously deselected package mysql-server-5.0.
(Reading database … 43702 files and directories currently installed.)
Unpacking mysql-server-5.0 (from …/mysql-server-5.0_5.0.45-1ubuntu3.1_i386.deb) …
Selecting previously deselected package libmysql-ruby1.8.
Unpacking libmysql-ruby1.8 (from …/libmysql-ruby1.8_2.7.3-1_i386.deb) …
Selecting previously deselected package libmysql-ruby.
Unpacking libmysql-ruby (from …/libmysql-ruby_2.7.3-1_all.deb) …
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from …/mysql-server_5.0.45-1ubuntu3.1_all.deb) …
Setting up libnet-daemon-perl (0.38-1.1) …
Setting up libplrpc-perl (0.2017-1.1) …
Setting up libdbi-perl (1.57-1) …
Setting up libmysqlclient15off (5.0.45-1ubuntu3.1) …

Setting up libdbd-mysql-perl (4.004-2) …
Setting up mysql-client-5.0 (5.0.45-1ubuntu3.1) …

Setting up mysql-server-5.0 (5.0.45-1ubuntu3.1) …
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

Setting up libmysql-ruby1.8 (2.7.3-1) …
Setting up libmysql-ruby (2.7.3-1) …
Setting up mysql-server (5.0.45-1ubuntu3.1) …
Processing triggers for libc6 …
ldconfig deferred processing now taking place
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libmysqlclient-dev is a virtual package provided by:
libmysqlclient15-dev 5.0.45-1ubuntu3.1
You should explicitly select one to install.
E: Package libmysqlclient-dev has no installation candidate
Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install mysql
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lm… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lz… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lsocket… no
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lnsl… yes
checking for mysql_query() in -lmysqlclient… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/usr/bin/ruby1.8
–with-mysql-config
–without-mysql-config
–with-mysql-dir
–without-mysql-dir
–with-mysql-include
–without-mysql-include=${mysql-dir}/include
–with-mysql-lib
–without-mysql-lib=${mysql-dir}/lib
–with-mysqlclientlib
–without-mysqlclientlib
–with-mlib
–without-mlib
–with-mysqlclientlib
–without-mysqlclientlib
–with-zlib
–without-zlib
–with-mysqlclientlib
–without-mysqlclientlib
–with-socketlib
–without-socketlib
–with-mysqlclientlib
–without-mysqlclientlib
–with-nsllib
–without-nsllib
–with-mysqlclientlib
–without-mysqlclientlib

Gem files will remain installed in /var/lib/gems/1.8/gems/mysql-2.7 for inspection.
Results logged to /var/lib/gems/1.8/gems/mysql-2.7/gem_make.out
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libjasper1 liblcms1 libmagick9
Suggested packages:
gs html2ps lpr libjasper-runtime liblcms-utils libwmf-bin
The following NEW packages will be installed:
imagemagick libjasper1 liblcms1 libmagick9
0 upgraded, 4 newly installed, 0 to remove and 26 not upgraded.
Need to get 2280kB of archives.
After unpacking 8098kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com gutsy/main libjasper1 1.900.1-3 [142kB]
Get:2 http://archive.ubuntu.com gutsy/main liblcms1 1.16-5ubuntu3 [98.0kB]
Get:3 http://archive.ubuntu.com gutsy/main libmagick9 7:6.2.4.5.dfsg1-2ubuntu1 [1300kB]
Get:4 http://archive.ubuntu.com gutsy/main imagemagick 7:6.2.4.5.dfsg1-2ubuntu1 [740kB]
Fetched 2280kB in 11s (197kB/s)
Selecting previously deselected package libjasper1.
(Reading database … 45636 files and directories currently installed.)
Unpacking libjasper1 (from …/libjasper1_1.900.1-3_i386.deb) …
Selecting previously deselected package liblcms1.
Unpacking liblcms1 (from …/liblcms1_1.16-5ubuntu3_i386.deb) …
Selecting previously deselected package libmagick9.
Unpacking libmagick9 (from …/libmagick9_7%3a6.2.4.5.dfsg1-2ubuntu1_i386.deb) …
Selecting previously deselected package imagemagick.
Unpacking imagemagick (from …/imagemagick_7%3a6.2.4.5.dfsg1-2ubuntu1_i386.deb) …
Setting up libjasper1 (1.900.1-3) …

Setting up liblcms1 (1.16-5ubuntu3) …

Setting up libmagick9 (7:6.2.4.5.dfsg1-2ubuntu1) …

Setting up imagemagick (7:6.2.4.5.dfsg1-2ubuntu1) …

Processing triggers for libc6 …
ldconfig deferred processing now taking place
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libmagick-dev is a virtual package provided by:
graphicsmagick-libmagick-dev-compat 1.1.8-1
libmagick9-dev 7:6.2.4.5.dfsg1-2ubuntu1
You should explicitly select one to install.
E: Package libmagick-dev has no installation candidate
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install rmagick
checking for Ruby version >= 1.8.2… yes
checking for Magick-config… no
Can’t install RMagick 2.2.2. Can’t find Magick-config in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/usr/bin/ruby1.8

Gem files will remain installed in /var/lib/gems/1.8/gems/rmagick-2.2.2 for inspection.
Results logged to /var/lib/gems/1.8/gems/rmagick-2.2.2/ext/RMagick/gem_make.out
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package capistrano
root@ubuntu:/home/ubuntu# hi there
The program ‘hi’ is currently not installed. You can install it by typing:
apt-get install hmake

[1]+ Stopped hi there
root@ubuntu:/home/ubuntu# tail rails2install.sh
#touch openssl.DONE

apt-get -y install imagemagick
apt-get -y install libmagick-dev
gem install rmagick
touch imagemagick.rmagick.DONE

apt-get -y install puppet capistrano
touch puppet.DONEroot@ubuntu:/home/ubuntu# apt-get install puppet
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
facter libshadow-ruby1.8 libxmlrpc-ruby
The following NEW packages will be installed:
facter libshadow-ruby1.8 libxmlrpc-ruby puppet
0 upgraded, 4 newly installed, 0 to remove and 26 not upgraded.
Need to get 382kB of archives.
After unpacking 2662kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://archive.ubuntu.com gutsy/universe facter 1.3.7-1 [14.0kB]
Get:2 http://archive.ubuntu.com gutsy/universe libshadow-ruby1.8 1.4.1-7 [8388B]
Get:3 http://archive.ubuntu.com gutsy/universe libxmlrpc-ruby 1.8.2-1 [3612B]
Get:4 http://archive.ubuntu.com gutsy/universe puppet 0.22.4-2 [356kB]
Fetched 382kB in 6s (62.4kB/s)
Selecting previously deselected package facter.
(Reading database … 45854 files and directories currently installed.)
Unpacking facter (from …/facter_1.3.7-1_all.deb) …
Selecting previously deselected package libshadow-ruby1.8.
Unpacking libshadow-ruby1.8 (from …/libshadow-ruby1.8_1.4.1-7_i386.deb) …
Selecting previously deselected package libxmlrpc-ruby.
Unpacking libxmlrpc-ruby (from …/libxmlrpc-ruby_1.8.2-1_all.deb) …
Selecting previously deselected package puppet.
Unpacking puppet (from …/puppet_0.22.4-2_all.deb) …
Setting up facter (1.3.7-1) …
Setting up libshadow-ruby1.8 (1.4.1-7) …
Setting up libxmlrpc-ruby (1.8.2-1) …
Setting up puppet (0.22.4-2) …
* Starting puppet configuration management tool [ OK ]

root@ubuntu:/home/ubuntu# apt-get install capistrano
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package capistrano
root@ubuntu:/home/ubuntu# apt-cache search capistrano
root@ubuntu:/home/ubuntu# vi rails2install.sh
root@ubuntu:/home/ubuntu#

root@ubuntu:/home/ubuntu# gem install mysql
Need to update 29 gems from http://gems.rubyforge.org
………………………..
complete
Select which gem to install for your platform (i486-linux)
1. mysql 2.7.3 (mswin32)
2. mysql 2.7.1 (mswin32)
3. mysql 2.7 (ruby)
4. mysql 2.6 (ruby)
5. Skip this gem
6. Cancel installation
> 3
Building native extensions. This could take a while…
Successfully installed mysql-2.7
root@ubuntu:/home/ubuntu#