我在運行ruby 1.9.3和rails 3.2.8的Ubuntu服務器上使用每用戶應用程序配置。 當我創建一個用戶(我的主要用戶),然後主目錄使用rails new test_app一個新的網站從應用程序目錄中運行rails s我得到 Rails 3.2.8 application starting in development on http://0.0.0.0:3000
但是當我su給其
嗨,我不確定這是否應該發生,但是當我在終端上執行RAILS_ENV=production rails server,然後嘗試運行localhost:3000時,它會給我錯誤: Secure Connection Failed
An error occurred during a connection to localhost:3000.
SSL received a record that
西納特拉應用程序,Ubuntu的12 #config.ru
require 'sinatra/base'
require 'openssl'
require 'webrick'
require 'webrick/https'
class App1 < Sinatra::Base
get '/' do
'app1'
end
end
class App2