1
我試圖使用Dreamhost上的Phusion客運部署我的應用程序和我很接近......獲取rmagick與乘客的Phusion工作
我解開我的寶石
[ecco]$ rake gems
(in /home/myuser/myurl.com/trunk)
- [F] authlogic
- [R] activesupport
- [F] cancan
- [F] formtastic
- [R] activesupport >= 2.3.0
- [R] actionpack >= 2.3.0
- [F] paperclip
- [F] rmagick
- [F] uuidtools
我已經得到我的environment.rb
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
config.gem "authlogic"
config.gem "cancan"
config.gem "formtastic"
config.gem "paperclip"
config.gem "rmagick", :lib => "RMagick2"
config.gem "uuidtools"
config.time_zone = 'UTC'
end
引用我的寶石如果我註釋掉rmagick然後應用程序啓動時(直到我打了使用rmagick顯然是一個頁面!)。如果我離開它,去應用程序的URL,我得到以下的Phusion客運錯誤:
Missing these required gems: rmagick You're running: ruby 1.8.7.72 at /usr/bin/ruby1.8 rubygems 1.3.5 at /home/myuser/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8 Run
rake gems:install
to install the missing gems.
運行./script/console和./script/server加載沒有任何問題的環境。
感謝任何幫助!
完美 - 謝謝! – RichH 2010-03-04 05:19:47