[Rails] Re: Dreamhost launch issues. What gems are used in my rails

2009-09-23 Thread Tony Tony

The Ultimation wrote:
> for migrations, have you tried running rake db:migrate 
> RAILS_ENV=production ? That may or may not work. As far as the plugins 
> go, you shouldnt need gems to make them work, or if you did you would 
> only get an error when trying to use them. I believe paperclip does 
> require ImageMagick though. You can see your gems if you type gem list 
> --local in your terminal. If you contact Dreamhost they'll probably be 
> able to tell you more too.

Ultimation,

Thanks for the reply. Tried it with no luck. Waiting on DH to get back 
to me. Thanks again!
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Dreamhost launch issues. What gems are used in my rails

2009-09-23 Thread Mark Mr

for migrations, have you tried running rake db:migrate 
RAILS_ENV=production ? That may or may not work. As far as the plugins 
go, you shouldnt need gems to make them work, or if you did you would 
only get an error when trying to use them. I believe paperclip does 
require ImageMagick though. You can see your gems if you type gem list 
--local in your terminal. If you contact Dreamhost they'll probably be 
able to tell you more too.
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Dreamhost launch issues. What gems are used in my rails

2009-09-23 Thread Tony Tony

Colin Law wrote:
> 2009/9/23 Tony Tony :
>> database for production (same schema) and the site still fails to load.
>> page just in case, Any help is appreciated!!:
>> no such file to load -- application (MissingSourceFile)
>> 2
>> 133  in `require_dependency'
>> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
>> 13
>> `process'
>> 18  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb  112  in
>> `send'
>> 19  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb  112  in
>> `run'
>> 20  ./config/environment.rb  9
> 
> Did you see this?  What is at line 9 in environment.rb?
> 
> Colin

Hi Colin,

That line is "Rails::Initializer.run do |config|". It probably had to do 
with 2.3.3 not being installed and me trying to use 2.2.2.

Now I'm trying to see my log files but having zero log (their freaking 
empty).

Thanks.
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Dreamhost launch issues. What gems are used in my rails

2009-09-23 Thread Tony Tony

Heinz Strunk wrote:
> Have you tried to run
> 
> rake gems:install
> 
> on the server to install all required gems?

Yea tried that - there was nothing to install. I think I just figured 
out what's partly wrong. I had to install rails 2.3.3 on DH. Now I'm 
getting a different error.

Thanks!
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---



[Rails] Re: Dreamhost launch issues. What gems are used in my rails app?

2009-09-23 Thread Colin Law

2009/9/23 Tony Tony :
>
> Hi guys,
>
> I made a quick app for a family member to be deployed on Dreamhost (low
> budget). It's my first time deploying on DH so I'm not familiar with the
> restrictions.
>
> I'm having an issue where I've been able to get git on both systems and
> used capistrano to deploy the app. However migrations fail. I also tried
> exporting my local staging mysql schema and importing it on the DH mysql
> database for production (same schema) and the site still fails to load.
>
> The only thing I can think of at the moment is that it is a gem issue. I
> haven't used any gems knowingly, I've only used plugins (authlogic,
> enum-column, paperclip, searchlogic, and will_paginate). However, some
> of these may use plugins (may) use gems. Anyone know of a way to get
> this info easily?
>
>
>
> OR.. maybe it has nothing to do with gems??  Here is the passenger error
> page just in case, Any help is appreciated!!:
>
>
> A source file that the application requires, is missing.
> It is possible that you didn't upload your application files correctly.
> Please check whether all your application files are uploaded.
> A required library may not installed. Please install all libraries that
> this application requires.
> Further information about the error may have been written to the
> application's log file. Please check it in order to analyse the problem.
> Error message:
> no such file to load -- application (MissingSourceFile)
> Exception class:
> PhusionPassenger::UnknownError
> Application root:
> /home/[domain]/store.[domain].com/current
> Backtrace:
> #  File  Line  Location
> 0  /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb  31  in
> `gem_original_require'
> 1  /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb  31  in
> `require'
> 2
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb
> 155  in `require'
> 3
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb
> 262  in `require_or_load'
> 4
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb
> 221  in `depend_on'
> 5
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb
> 133  in `require_dependency'
> 6
> /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb
> 18  in `define_dispatcher_callbacks'
> 7
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 182  in `call'
> 8
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 182  in `evaluate_method'
> 9
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 166  in `call'
> 10
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 90  in `run'
> 11
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 90  in `each'
> 12
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 90  in `send'
> 13
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 90  in `run'
> 14
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
> 277  in `run_callbacks'
> 15  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb  559  in
> `send'
> 16  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb  559  in
> `prepare_dispatcher'
> 17  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb  173  in
> `process'
> 18  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb  112  in
> `send'
> 19  /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb  112  in
> `run'
> 20  ./config/environment.rb  9

Did you see this?  What is at line 9 in environment.rb?

Colin

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



[Rails] Re: Dreamhost launch issues. What gems are used in my rails app?

2009-09-23 Thread Heinz Strunk

Have you tried to run

rake gems:install

on the server to install all required gems?
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~--~~~~--~~--~--~---