# 3 things: n00b

**URL:** <https://www.ruby-forum.com/t/3-things-n00b/191097>\
**Category:** Rails\
**Created:** [July 5, 2010, 11:24am UTC](https://www.ruby-forum.com/t/3-things-n00b/191097 "2010-07-05T11:24:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![angel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@angel](https://www.ruby-forum.com/u/angel)\
**Post date:** [July 5, 2010, 11:24am UTC](https://www.ruby-forum.com/t/3-things-n00b/191097/1 "2010-07-05T11:24:03Z")

</div>

1. On a remote server I am running the command below using the  
restful\_authentication plugin and receiving the following error.  
_ruby script/generate authenticated user sessions_  
/usr/lib64/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`gem_original_require': no such file to load -- rails/generators/migration (MissingSourceFile) from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`require’  
from  
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active\_support/dependencies.rb:156:in  
`require' from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in`new\_constants\_in’  
from  
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active\_support/dependencies.rb:156:in  
`require' from /home1/angelrob/rails/movielist/vendor/plugins/restful-authentication/lib/generators/authenticated/authenticated_generator.rb:2 from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`gem\_original\_require’  
from /usr/lib64/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`require' from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in`require’  
from  
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active\_support/dependencies.rb:521:in  
`new_constants_in' from /usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in`require’  
from  
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails\_generator/spec.rb:17:in  
`klass' from /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails_generator/lookup.rb:140:in`instance’  
from  
/usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails\_generator/scripts/…/scripts.rb:31:in  
`run' from /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/generate.rb:6 from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`gem\_original\_require’  
from /usr/lib64/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`require’  
from script/generate:3

2. Locally I upgraded to Fedora 13 and running the command blow and  
receiving the following error.  
_rake db:create_  
\*\* Invoke db:create (first\_time)  
\*\* Invoke db:load\_config (first\_time)  
\*\* Invoke rails\_env (first\_time)  
\*\* Execute rails\_env  
\*\* Execute db:load\_config  
rake aborted!  
syntax error on line 24, col 2: `socket: /var/lib/mysql/mysql.sock' /usr/lib/ruby/1.8/yaml.rb:133:in`load’  
/usr/lib/ruby/1.8/yaml.rb:133:in `load' /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/initializer.rb:902:in`database\_configuration’  
/usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/tasks/databases.rake:4  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in`execute’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in`execute’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in  
`invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in`synchronize’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in  
`invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in`invoke\_prerequisites’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in`invoke\_prerequisites’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in  
`invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in`synchronize’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in  
`invoke_with_call_chain' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in`invoke’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in`top\_level’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in`top\_level’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in  
`standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in`top\_level’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in`standard\_exception\_handling’  
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in`load’  
/usr/bin/rake:19

3. Ideally I would like to have a git repo in the public\_html directory  
of  
the remote server, clone that locally, test :3000 as the  
production environment and push to the server. I have a cobbled together  
solution that doesn’t seem to work and a bug unique to all wares. Any  
references/resources on a holistic RoR environment? Fedora 13/Bluehost/  
git/ror …

I hope that makes sense.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![angel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@angel](https://www.ruby-forum.com/u/angel)\
**Post date:** [July 5, 2010, 6:04pm UTC](https://www.ruby-forum.com/t/3-things-n00b/191097/2 "2010-07-05T18:04:56Z")

</div>

Angel Marquez wrote:

> 1. Ideally I would like to have a git repo in the public\_html directory  
> of  
> the remote server, clone that locally, test :3000 as the  
> production environment and push to the server. I have a cobbled together  
> solution that doesn’t seem to work and a bug unique to all wares. Any  
> references/resources on a holistic RoR environment? Fedora 13/Bluehost/  
> git/ror …
> 
> I hope that makes sense.
> 
> Thanks in advance.  
> If you’re looking for a deploy solution, Capistrano is one of the best  
> methods out there. If you go to  
> [http://www.capify.org/index.php/Tutorials](http://www.capify.org/index.php/Tutorials), there are a bunch of really  
> good tutorials to get you started.

The other 2 questions I’m too much of a noob to answer myself. However,  
you might want to check and see if you installed rails properly on the  
remote server. Re-installing it might solve question 1.

---

<div class="post-metadata">

**Author:** ![angel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@angel](https://www.ruby-forum.com/u/angel)\
**Post date:** [July 5, 2010, 10:02pm UTC](https://www.ruby-forum.com/t/3-things-n00b/191097/3 "2010-07-05T22:02:09Z")

</div>

Thanks!

I had cap on the to do list, thanks for reinforcing. i hope the absolute  
morons guide makes sense : )
