I just started my lesson on rails and followed the steps in the book
“beginning ruby on rails”, but sorry I have been getting wrong.
I took the steps to build a new rails application as below:
rails hello
cd hello; ruby script/generate controller App
vi app/controllers/app_controller.rb and put these content in it:
class AppController < ApplicationController
def greeting
end
end
vi app/views/app/greeting.rhtml and put these content in it:
yes and I found out that ruby and ruby on rails are ziped files. this is
why I could not use them.so I took them off of my computer. I feel that
noone was willing to help me with this problem. So I will try another
program to use, other than ruby. no that I have put the books up, ruby
and ruby on rals had failed.
yes and I found out that ruby and ruby on rails are ziped files. this is why I could not use them.so I took them off of my computer. I feel that noone was willing to help me with this problem. So I will try another program to use, other than ruby. no that I have put the books up, ruby and ruby on rals had failed.
This doesn’t make any sense.
Every major operating system is capable of unzipping files. This
includes even most major smartphones, sans iphone (unless jailbroken).
If you are simply trying to learn ruby a good place to start would be
with why’s poignant guide to ruby and tryruby.org.
As for building applications, if you can’t even unzip a file, python,
php, even c# won’t be any eaiser.
Best of luck.
Andrew McElroy
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.