Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > BOOK: Beginning Ruby on Rails
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Ruby on Rails
This is the forum to discuss the Wrox book Beginning Ruby on Rails by Steve Holzner Ph.D.; ISBN: 9780470069158
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Ruby on Rails section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old April 1st, 2008, 02:59 PM
Registered User
 
Join Date: Apr 2008
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much Teresa, it worked fine with me too! :)
  #12 (permalink)  
Old April 7th, 2008, 03:40 PM
Registered User
 
Join Date: Apr 2008
Location: , , USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sfazel
Default

Quote:
quote:Originally posted by Bazley
 I did exactly what Teresa suggested and now the message in the browser has changed to:

Template is missing

Missing template app/greeting.html.erb in view path C:/Documents and Settings/Me/Desktop/rubydev/hello/app/views

Has anyone else had this?
=========================
Try creating RubyDev under C:\. I remember reading in the first few pages that short directories with no spaces between words works best for RubyRails applications
After opening up the CMD (command) window type:
CD Press enter. Then enter:
md rubydev

Press enter. Then create the hello directory
  #13 (permalink)  
Old November 28th, 2008, 10:22 PM
Registered User
 
Join Date: Jul 2008
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by tchavez
 I just got it working too!

1. Install the sqlite3 gem
    ==> gem install sqlite3-ruby

2. Download the sqlite3.dll from
    http://sqlite.org/download.html

(only download the DLL)

3. The download should include 2 files
     - sqlite3.dll
     - sqlite3.def

These need to be put in your path. Chances are your ruby\bin is
already in your environment path. Putting them in there does the trick.

Teresa


Yes, I got it to work too, but I had to use the following:

gem install sqlite3-ruby --version=1.2.2

As explained in this article: http://domhackers.blogspot.com/2008/...n-windows.html

Thanks!
Emiel

  #14 (permalink)  
Old December 6th, 2008, 10:22 PM
Registered User
 
Join Date: Dec 2008
Location: Appleton, WI, .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I already had MySQL installed, so I followed the instructions from fraiser.et and was able to get the 'Yes, It's Working' message to appear in my browser. However, the window with the WEBrick stays open for exactly two (2) web page 'opens', and then it terminates and I get a 'Page not found' error in my browser window if I try to open the page a 3rd time. This happens whether I open the browser 3 times, or I open the browser and then click "refresh" twice. (The page does open correctly, then refresh correctly the first time, but not the second time I click 'refresh'. MS Windows XP, MySQL 5.1, IE 7.0.

This is what the WEBrick cmd screen looks like after two browser opens, and then the window completely goes 'bye-bye' when I open it for the 3rd time:

C:\>cd \rubydev\hello

C:\rubydev\hello>ruby script/server
=> Booting WEBrick...
=> Rails 2.2.2 application started on 0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-12-06 19:47:46] INFO WEBrick 1.3.1
[2008-12-06 19:47:46] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-12-06 19:47:46] INFO WEBrick::HTTPServer#start: pid=3864 port=3000
127.0.0.1 - - [06/Dec/2008:19:48:00 Central Standard Time] "GET /app/greeting HT
TP/1.1" 304 0
- -> /app/greeting
127.0.0.1 - - [06/Dec/2008:19:48:54 Central Standard Time] "GET /app/greeting HT
TP/1.1" 304 0
- -> /app/greeting

Any suggestions? Or is this what is supposed to happen?


  #15 (permalink)  
Old April 3rd, 2009, 06:23 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Still lost

Hi,

This is all great information; but I am a total noob. Where do you get only these DLLs from...I cannot find them.
Does someone have more complete instructions to follow this all the way through end to end without having to piece it all together. I can't believe this book is a POS right from the first chapter....especially one that's called BEGINNING....Ruby on Rail....what gives?
  #16 (permalink)  
Old May 16th, 2009, 11:39 PM
Registered User
 
Join Date: May 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by frasier.et View Post
Hopefully this should work for everyone experiencing this problem. If you find a simpler solution I would be interested to know.

E-Tim

Not sure if anyone is looking at this forum anymore but I found that downloading and installing Instant Rails from http://rubyforge.org/frs/?group_id=904 works great. You do have to go through the Rails interface though. But after that it is cake.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 1 Ctrl+F5 don't work, F5 does work? jimboak BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 June 29th, 2008 03:46 AM
Beginning Ruby on Rails - chapter 11: Ajax & Rails rornet BOOK: Beginning Ruby on Rails 1 June 22nd, 2007 04:10 PM
a example of chapter doesn't work. mizimizi Classic ASP XML 2 October 19th, 2003 01:27 PM



All times are GMT -4. The time now is 08:46 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.