# Environment problem..!

**URL:** <https://www.ruby-forum.com/t/environment-problem/113927>\
**Category:** Rails\
**Created:** [September 6, 2007, 9:20am UTC](https://www.ruby-forum.com/t/environment-problem/113927 "2007-09-06T09:20:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saurabhbhatia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@saurabhbhatia](https://www.ruby-forum.com/u/saurabhbhatia)\
**Post date:** [September 6, 2007, 9:20am UTC](https://www.ruby-forum.com/t/environment-problem/113927/1 "2007-09-06T09:20:06Z")

</div>

Hello sir…!!

Good morning to all of u…!!!

Friends. I have download some projects from [rubyforge.com](http://rubyforge.com). Now some is  
running as usual means all migration files are running and table is  
also created. But in one application when i run

rake db:migrate

then its give some errors like

rake is aborted…!!  
No such file to load --ruby-debug

then second thing is… I’m running this application in windows  
platform. When i’m going to start server in development run mode then  
its not started then i changed the run mode and make Production  
instead of Development. Then its started. plz give me the right  
suggestion

Thanks…!!  
.

---

<div class="post-metadata">

**Author:** ![saurabhbhatia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@saurabhbhatia](https://www.ruby-forum.com/u/saurabhbhatia)\
**Post date:** [September 6, 2007, 11:13am UTC](https://www.ruby-forum.com/t/environment-problem/113927/2 "2007-09-06T11:13:21Z")

</div>

check if u are using any plugins in your application.

first, install those plugins  
and then restart the serevr.

---

<div class="post-metadata">

**Author:** ![saurabhbhatia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@saurabhbhatia](https://www.ruby-forum.com/u/saurabhbhatia)\
**Post date:** [September 6, 2007, 1:44pm UTC](https://www.ruby-forum.com/t/environment-problem/113927/3 "2007-09-06T13:44:42Z")

</div>

have you set the database.yml correctly?

---

<div class="post-metadata">

**Author:** ![saurabhbhatia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@saurabhbhatia](https://www.ruby-forum.com/u/saurabhbhatia)\
**Post date:** [September 6, 2007, 2:22pm UTC](https://www.ruby-forum.com/t/environment-problem/113927/4 "2007-09-06T14:22:20Z")

</div>

Saurabh Bhatia wrote:

> rake db:migrate
> 
> then its give some errors like
> 
> rake is aborted…!!  
> No such file to load --ruby-debug

try installing the “ruby-debug” gem

“gem install ruby-debug”  
this is used as an alternative to the built-in “breakpoint” function.

alternatively search through /config/environment.rb, and  
/config/environments/development.rb, and any plugins  
/vendor/plugins/\*/init.rb

look for any lines saying “require ‘ruby-debug’” or “Debugger.start”

these are only useful if you’re using the functions of ruby-debug, if  
you don’t care, then delete them.
