Frederick Cheung wrote:
> On Dec 2, 10:10?pm, Scott Peterson <[EMAIL PROTECTED]>
> wrote:
>> > IR installed (but not running) on you system without any problem. ?Just
>>
>> I changed database.yml to point to mysql and gave it my database's name,
>> but I can't get the application to start from the InstantRails
>> interface. ?The command window closes after just a second or two, and I
>> don't see anything being logged anywhere.
>>
> You might find that manually running ruby script/server from a command
> prompt gives you a better chance to see the error.
> 
> Fred

Hmmm...that seems to start the server, and when I hit port 3000 I get 
the default kind of view.

Then clicking on the 'About your application's environment' link gets me 
a stack trace which says "no such file to load -- mysql".  Points to a 
line in custom_require.rb which says:

gem_original_require path

I don't understand this, mysql is right at the InstantRails directory 
level.

Next, I tried putting my application's database.yml file back the way it 
was after generation -- using the sqlite3 driver pointing to the 
db/<appstate>.sqlite3 database.

Restarted the server, same message except it can't load sqlite.

Is it something with the sql stuff not being in the windows path 
variable properly maybe?  Or maybe I didn't "install" properly (although 
it's only a zip file, I'm not sure how far wrong I could've gone there).

If that's true, I can't explain why the cookbook and typo apps seem to 
work from IR, as I didn't do any installation of sqlite3.  It's kind of 
like looking through a fog--I think I see pieces of the puzzle, but 
don't see the solution.

Thanks for the responses.

BTW, Norm, I tried your idea as well, but the rails console window shuts 
down as soon as it starts.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to