On Fri, Apr 29, 2011 at 2:35 PM, fredrated <fr...@abag.ca.gov> wrote:

> Thanks, I guess my question was rather tearse.
> First problem: me, the webmaster and my boss have all been having a go
> at trying to install ruby and rails on my OpenSUSE 10.2
> Second problem: do install instructions (ruby and rails) exist?  I
> can't seem to find them.
>
> Anyway, we got something going, then tried to create/run the first
> example in Agile Web Development with Rails, but the ruby code <%=
> Time.now %> would not execute so I tried to run the ruby console to
> see if I could figure out why.  This gave me an error about 'readline'
> not being available.  It was not in the directory ruby installed in
> but I found it in the directory the ruby files were originally
> extracted to, so I figured the extraction must have been done in the
> wrong place.  Also got other messages that lead me to believe the
> extracted files were not being accessed.  In addition, I found
> directory name references to 3 versions of ruby: ../ruby/1.9.1, ../
> ruby-1.8.7-p174 and ../ruby-1.9.2-p180 so I figured we had thrown
> everything but the kitchen sink at the computer in the attempt to get
> rails working, so I decided to uninstall/delete as much as I could in
> an attempt to start over and do a better install job.  However, in the
> absence of install instructions I am back at square 1, or perhaps
> square 0, and don't know how to proceed to install Ruby and Rails.
> Sadly, this reminds me of when I took computer science in college in
> the days of terminals: just getting on to the system and getting it to
> respond was always harder than actually programming and solving
> problems.  How little things have changed.
> Thanks for your assistance to an old dog trying to learn a new trick.
>

First, I dont know SUSE, but have installed successfully many times on mac
and ubuntu. Take that as a caveat. Is there a package manager for SUSE? On
Ubuntu I use apt_get ruby or something of the like. Then, you say your try
to run ruby from the command line --- have your tried running irb there
(just type 'irb' as a command)?

As far as previous installs, that is kind of scary to me. I generally try to
virtualize so I can go back when I screw something up inevitably. But if you
can find a package manager to install ruby and get it running then you are
on the path. Just an fyi, you might want to look at rvm for managing
multiple versions of ruby as well as being able to isolate rails installs.

>
> Fred
>
>
> On Apr 29, 11:54 am, David Kahn <d...@structuralartistry.com> wrote:
> > On Fri, Apr 29, 2011 at 12:17 PM, fredrated <fr...@abag.ca.gov> wrote:
> > > The reason I ask this elementary question is because when I originally
> > > installed ruby and rails, after the so-called installation was
> > > completed, many of the required files were found to be missing from
> > > the 'install' directory (/usr/local/lib/ruby) but existed in the
> > > extract directory (/home/software), so something about the 'install'
> > > failed seemingly because I had not extracted the .tar.gz into a place
> > > friendly to the install.
> >
> > You should give some more details on what you have done. First, what OS,
> > then what steps are you doing to install Ruby and Rails, and what makes
> you
> > think something went wrong?
> >
> >
> >
> >
> >
> > > Thanks in advance for any help.
> > > Fred
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Ruby on Rails: Talk" group.
> > > To post to this group, send email to rubyonrails-talk@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > rubyonrails-talk+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/rubyonrails-talk?hl=en.- Hide quoted
> text -
> >
> > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to