|
All, I’m attempting to setup a development environment
with the latest version of Kubuntu as my OS (I would use a Mac, just don’t
have the cash for it right now) and I’m having a hard time because I don’t
really understand the right way to do things. Culling information from different source seems to leave
me with more questions than answers. For example, I’ve found the following information
scattered amongst a few blogs: HowTo: Install Ruby, RubyonRails, and
RubyGems on Ubuntu 5.10 (Breezy) (http://blog.hypexr.org/?p=105) sudo apt-get install ruby rails Installing Ruby on Rails on Debian system (http://www.2sheds.ru/blog/2005/02/installing-ruby-on-rails-on-debian.php) apt-get install libruby libruby1.8 ruby ruby1.8
libzlib-ruby1.8 libyaml-ruby1.8 rdoc1.8 libiconv-ruby1.8 irb1.8
libreadline-ruby1.8 libcurses-ruby1.8 libbigdecimal-ruby1.8 libdrb-ruby1.8
liberb-ruby1.8 Ruby, Rails, Apache2, and Ubuntu Breezy
(5.10) (http://fo64.com/articles/2005/10/20/rails-on-breezy) #Installing ruby (all one line) sudo apt-get install rails irb libdbm-ruby1.8 libfcgi-ruby1.8 libfcgi0 libgdbm-ruby1.8 libmysql-ruby1.8 libmysqlclient12 libopenssl-ruby1.8 libruby1.8-dbg mysql-common ri ri1.8 ruby1.8-dev As you can see, all of the examples use the apt-get
package manager which is the standard package manager for (K)Ubuntu and Debian.
However, all of the examples vary in their syntax. Most of the examples explain the how but not the why. Needless to say, I have a lot of questions about this… Why does the first one only read “sudo apt-get
install ruby rails” while the other ones add libraries (if that’s
the right name for them) at install time? (I understand the sudo apt-get
commands themselves) Why would I need libbigdecimal-ruby1.8 and
libopenssl-ruby1.8 (just two examples)? What do they do for me? Why wouldn’t
I want them? If I don’t install it now and I need it later, how is that
done? Is there a list of stable (i.e. not in development)
libraries that can be installed into Ruby? Should I use a package manager (I believe apt-get (using
the stable source) uses Ruby 1.8.2) or should I download and compile the latest
and greatest (1.8.4 at this time) myself? If I should compile by hand, how do I
add all of the other goodies (example: libopenssl, etc.)? I’m hoping that someone can help me clear my head of
these questions. If I need to RTFM, then by all means, let me know where the
manual is and I’ll read it. Any help one can offer would be greatly appreciated. Thank you. Carlos Rodriguez |
_______________________________________________ PDXRuby mailing list [email protected] IRC: #pdx.rb on irc.freenode.net http://lists.pdxruby.org/mailman/listinfo/pdxruby
