Ruby on Rails Friday, April 29, 2011

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.

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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment