# Newbie help

**URL:** <https://www.ruby-forum.com/t/newbie-help/171553>\
**Category:** Ruby\
**Created:** [July 5, 2009, 2:41am UTC](https://www.ruby-forum.com/t/newbie-help/171553 "2009-07-05T02:41:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ouikoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e68b1a/32.png) [@ouikoto](https://www.ruby-forum.com/u/ouikoto)\
**Post date:** [July 5, 2009, 2:41am UTC](https://www.ruby-forum.com/t/newbie-help/171553/1 "2009-07-05T02:41:28Z")

</div>

> Greetings Great Gurus of RoR

> I do have a bunch of questions regarding RoR i did follow a book titled “RoR for Dummies” but it seems i cant go anywhere everytime I create a controller shoppingcart show and check http://localhost:300x/shopping\_cart/show it gives me default error ““We’re sorry, but something went wrong.We’ve been notified about this issue and we’ll take a look at it shortly.”” heres the log

/!\ FAILSAFE /!\ Sat Jul 04 23:39:14 -0700 2009  
Status: 500 Internal Server Error  
no such file to load – mysql  
C:/Ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require' C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`require’  
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/dependencies.rb:156:in  
`require' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in`new\_constants\_in’  
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/dependencies.rb:156:in  
`require' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/requires.rb:7:in`require\_library\_or\_gem’  
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/core\_ext/kernel/reporting.rb:11:in  
`silence_warnings' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/kernel/requires.rb:5:in`require\_library\_or\_gem’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/mysql\_adapter.rb:65:in  
`mysql_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in`send’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/abstract/connection\_pool.rb:223:in  
`new_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:245:in`checkout\_new\_connection’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/abstract/connection\_pool.rb:188:in  
`checkout' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:184:in`loop’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/abstract/connection\_pool.rb:184:in  
`checkout' C:/Ruby/lib/ruby/1.8/monitor.rb:242:in`synchronize’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/abstract/connection\_pool.rb:183:in  
`checkout' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in`connection’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/abstract/connection\_pool.rb:326:in  
`retrieve_connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:123:in`retrieve\_connection’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/abstract/connection\_specification.rb:115:in  
`connection' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:9:in`cache’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/query\_cache.rb:28:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/vendor/rack-1.0/rack/head.rb:9:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/params\_parser.rb:15:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/session/cookie\_store.rb:93:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/reloader.rb:9:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/failsafe.rb:11:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/vendor/rack-1.0/rack/lock.rb:11:in  
`synchronize' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/dispatcher.rb:106:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:31:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/vendor/rack-1.0/rack/urlmap.rb:46:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in`each’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/vendor/rack-1.0/rack/urlmap.rb:40:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/log_tailer.rb:17:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/vendor/rack-1.0/rack/content\_length.rb:13:in  
`call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb:46:in`service’  
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in`run’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in`start’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in`start’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each' C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in`start’  
C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start' C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in`start’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/vendor/rack-1.0/rack/handler/webrick.rb:13:in  
`run' C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`gem\_original\_require’  
C:/Ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`require' ./script/server:3 -e:4:in`load’  
-e:4

> is it the path of my installation that went wrong???  
> can you tech me the right path??  
> Why is it in the book it sez there “show.rhtml” but in the version of rails it gives me show.html.erb

---

<div class="post-metadata">

**Author:** ![ouikoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e68b1a/32.png) [@ouikoto](https://www.ruby-forum.com/u/ouikoto)\
**Post date:** [July 5, 2009, 4:45am UTC](https://www.ruby-forum.com/t/newbie-help/171553/2 "2009-07-05T04:45:49Z")

</div>

On Sat, Jul 4, 2009 at 5:41 PM, Luis Teko[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> http://localhost:300x/shopping\_cart/show it gives me default error ““We’re sorry, but something went \> wrong.We’ve been notified about this issue and we’ll take a look at it shortly.””

you should only see that if you’re running in production mode – there’s  
a “development” mode for a reason 🙂

> /!\ FAILSAFE /!\ Sat Jul 04 23:39:14 -0700 2009  
> Status: 500 Internal Server Error  
> no such file to load – mysql

So do you have the mysql gem installed? For that matter, do you  
have mysql installed?

---

<div class="post-metadata">

**Author:** ![ouikoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e68b1a/32.png) [@ouikoto](https://www.ruby-forum.com/u/ouikoto)\
**Post date:** [July 5, 2009, 5:31am UTC](https://www.ruby-forum.com/t/newbie-help/171553/3 "2009-07-05T05:31:58Z")

</div>

On Sat, Jul 4, 2009 at 8:18 PM, Luis Teko[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> if u dont mind sir can u just give a couple of steps in installing this  
> things.

Looks like you’re running Windows, so I can’t help much with the  
details. Probably your best bet is to google “rails windows mysql”  
and take your pick of the suggestions.

HTH!

---

<div class="post-metadata">

**Author:** ![ouikoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e68b1a/32.png) [@ouikoto](https://www.ruby-forum.com/u/ouikoto)\
**Post date:** [July 5, 2009, 7:42am UTC](https://www.ruby-forum.com/t/newbie-help/171553/4 "2009-07-05T07:42:06Z")

</div>

Luis Teko wrote:

> tnx hassan,
> 
> if u dont mind sir can u just give a couple of steps in installing this  
> things.
> 
> many tnx!!!

[http://www.ruby-forum.com/topic/185728#811600](http://www.ruby-forum.com/topic/185728#811600)

---

<div class="post-metadata">

**Author:** ![ouikoto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e68b1a/32.png) [@ouikoto](https://www.ruby-forum.com/u/ouikoto)\
**Post date:** [July 5, 2009, 5:18am UTC](https://www.ruby-forum.com/t/newbie-help/171553/5 "2009-07-05T05:18:07Z")

</div>

tnx hassan,

if u dont mind sir can u just give a couple of steps in installing this  
things.

many tnx!!!
