|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
Rails is NOT a lightning fast web development tool
RoR makes you more productive?
I must disagree. Granted my environment may not have been the best, but I can follow directions and this is just absurd. Ive got the following installed on this machine: Fedora Core 6 Ruby Version 1.8.4 Gems Version 0.9.0 Rails Version 1.2.3 Everything said it installed fine. I start a new project (in fact i follow the exact directions laid out in the book "agile web development with rails" by the pragmatic programmers series, same guys who did the pick book. Code:
rails demo blamo i get all the files, looking good. I create a controller: Code:
cd demo; ruby scripts/generate controller Say No problems there either. I go into the file and add a hello method. I then create a template that has some html in it like so: Code:
vi app/views/say/hello.rhtml no problems there either. I start up the webserver called WEBrick, go to my ip at port 3000 and I get the welcome to RoR page (yea and apparently im on rails )I then go to where I should see my page served: Code:
http://myipaddress:3000/say/hello and this is what i get from the WEBrick log: Quote:
I was under the impression this was supposed to help me be more productive. With all the hubabaloo about rails, id expect a little more out of it than this. Ive already wasted 2 hours getting to this point .. the 'gems' interface is a piece of ... also.
__________________
Bugs that go away by themselves come back by themselves Never take life seriously, Nobody gets out alive anyway. |
|
#2
|
||||
|
||||
|
Nevermind.
I did a yum install on rubygems and ruby got the most current versions of both, rinsed and repeated. everything works flawlessly, must have been something in my environment. God, im such an asshole ![]() |
|
#3
|
||||
|
||||
|
Those two wasted hours are what I call a "learning curve". Productivity boosts aren't measured by how quickly you get a "hello world" page running. If so, notepad would be king.
(EDIT: I'm graying this out, because I clearly didn't read your post thoroughly enough) My guess is you forgot to add this to the "Say" controller: Code:
def hello; end ...By the way, I doubt there's anyone here who cares if you continue to use Rails. If it's not working for you, ditch it. Last edited by Joseph Taylor : May 9th, 2007 at 07:07 PM. |
|
#4
|
|||
|
|||
|
Actually, I think Rails is pretty damn nice. In two weeks I went from not knowing any rails at all to this .
Granted, its still very simple, I'm very proud of myself because all the kids I work with at school said I'd never get it done in the allotted time, but I did and I laughed at them. ![]()
__________________
I have summoned you here for a purpose |
|
#5
|
|||
|
|||
|
Quote:
I've checked you beta site, I like it. Considering you're new to RoR as I am, which book or tutorial was your primary source. I've just finished with "Ruby on Rails for Dummies" which answered a lot of the basics, now I'm after something with a bit more detail. |
|
#6
|
|||
|
|||
|
I started with Agile Dev. version 2, as many of my features are similar to those in the Depot program, but Google and various Rails forums helped alot too. I only got to about page 100-150 of Agile Dev. when I started, and I still have to finish the book.
http://www.railsforum.com/ is an awesome Rails forum. I've started about 10 topics in the last two weeks :P |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Ruby Programming > Rails is NOT a lightning fast web development tool |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|