# Blank page output

**URL:** <https://www.ruby-forum.com/t/blank-page-output/56095>\
**Category:** Rails\
**Created:** [March 28, 2006, 5:33am UTC](https://www.ruby-forum.com/t/blank-page-output/56095 "2006-03-28T05:33:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![19roby83](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/1/b9e5f3/32.png) [@19roby83](https://www.ruby-forum.com/u/19roby83)\
**Post date:** [March 28, 2006, 5:33am UTC](https://www.ruby-forum.com/t/blank-page-output/56095/1 "2006-03-28T05:33:09Z")

</div>

Hello, I’m new to Ruby and RubyOnRails. I’m running Fedora 4 which comes  
with Ruby 1.84-1. I installed rubyonrails, and I’m doing the a sample  
program found on

> **[Radar - O’Reilly](https://www.oreilly.com/radar/?page=2)**
>
> Now, next, and beyond: Tracking need-to-know trends at the intersection of business and technology

I ran ruby script/generate controller MyTest. I edited the file  
my\_test\_controller.rb. Here’s the code I entered

class MyTestController \< ApplicationController  
def index  
render\_text “Hello World, my first line of Ruby”  
end  
end

I save the file. I then ran the browser with the following url

[http://127.0.0.1:3000/My\_Test/](http://127.0.0.1:3000/My_Test/)

I get a blank page, no output.

if I do

[http://127.0.0.1:3000/garbage/](http://127.0.0.1:3000/garbage/)

I still get a blank page instead of a NOT FOUND message.

I know I’m doing something wrong, but I can’t figure out what.

If anyone out there has an idea what, Thanks 🙂

–  
This message has been scanned for viruses and  
dangerous content by MailScanner, and is  
believed to be clean.

---

<div class="post-metadata">

**Author:** ![19roby83](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/1/b9e5f3/32.png) [@19roby83](https://www.ruby-forum.com/u/19roby83)\
**Post date:** [March 28, 2006, 5:55am UTC](https://www.ruby-forum.com/t/blank-page-output/56095/2 "2006-03-28T05:55:35Z")

</div>

On Mon, 2006-03-27 at 22:31 -0500, Roberto M. wrote:

> end  
> [http://127.0.0.1:3000/garbage/](http://127.0.0.1:3000/garbage/)
> 
> I still get a blank page instead of a NOT FOUND message.
> 
> I know I’m doing something wrong, but I can’t figure out what.
> 
> If anyone out there has an idea what, Thanks 🙂

* * *

try lower case…

[http://127.0.0.1:3000/my\_test](http://127.0.0.1:3000/my_test)  
or (I find this easier)  
[http://localhost:3000/my\_test](http://localhost:3000/my_test)  
or (I find this even easier)  
localhost/my\_test

Windows seems to ignore case sensitivities…

Windows sees “My\_Test” and “my\_test” as the same name, UNIX/Linux does  
not.

Craig

---

<div class="post-metadata">

**Author:** ![19roby83](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/1/b9e5f3/32.png) [@19roby83](https://www.ruby-forum.com/u/19roby83)\
**Post date:** [March 28, 2006, 5:59am UTC](https://www.ruby-forum.com/t/blank-page-output/56095/3 "2006-03-28T05:59:09Z")

</div>

I’m running this on my Fedora 4. I’ve tried lowercase, but same result

On Mon, 2006-03-27 at 20:55 -0700, Craig W. wrote:

> > ```
> > render_text "Hello World, my first line of Ruby"
> > 
> > ```
> 
> [http://127.0.0.1:3000/my\_test](http://127.0.0.1:3000/my_test)  
> Craig
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
This message has been scanned for viruses and  
dangerous content by MailScanner, and is  
believed to be clean.

---

<div class="post-metadata">

**Author:** ![19roby83](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/1/b9e5f3/32.png) [@19roby83](https://www.ruby-forum.com/u/19roby83)\
**Post date:** [March 28, 2006, 6:03am UTC](https://www.ruby-forum.com/t/blank-page-output/56095/4 "2006-03-28T06:03:58Z")

</div>

what is output of…

cd cookbook # get into the right directory on the command line

cat app/models/my\_test\_controller.rb

tail log/development.log

Craig

---

<div class="post-metadata">

**Author:** ![19roby83](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/1/b9e5f3/32.png) [@19roby83](https://www.ruby-forum.com/u/19roby83)\
**Post date:** [March 28, 2006, 1:07pm UTC](https://www.ruby-forum.com/t/blank-page-output/56095/5 "2006-03-28T13:07:22Z")

</div>

Try deleting your session variables.  
/tmp/ruby\_sess\*

On 28/03/06, Roberto M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ```
> end
> 
> ```
> 
> [http://127.0.0.1:3000/garbage/](http://127.0.0.1:3000/garbage/)
> 
> –  
> This message has been scanned for viruses and  
> dangerous content by MailScanner, and is  
> believed to be clean.
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–

> **[snowblink](https://snowblink.co.uk/)**
>
> snowblink.co.uk : Homepage

---

<div class="post-metadata">

**Author:** ![19roby83](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/1/b9e5f3/32.png) [@19roby83](https://www.ruby-forum.com/u/19roby83)\
**Post date:** [March 28, 2006, 8:07pm UTC](https://www.ruby-forum.com/t/blank-page-output/56095/6 "2006-03-28T20:07:03Z")

</div>

Figured it out. Fedora 4 installs only ruby by default. I searched  
Google fedora 4 and ruby. I found out that you don’t only need ruby, but  
the following file

ruby-devel  
ruby-libs  
irb  
rdoc

I installed them (and everything else related Ruby that I could find in  
Fedora) and now it works.

Thanks for your patience people  
Take Care

On Mon, 2006-03-27 at 21:03 -0700, Craig W. wrote:

> On Mon, 2006-03-27 at 22:58 -0500, Roberto M. wrote:
> 
> > > > my\_test\_controller.rb. Here’s the code I entered
> > > > 
> > > > If anyone out there has an idea what, Thanks 🙂
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
This message has been scanned for viruses and  
dangerous content by MailScanner, and is  
believed to be clean.
