我正在使用Rails應用程序將我在Amazon S3上存儲的Word文件發送到convertapi以轉換爲PDF。我正在使用paperclip gem來管理文件,並使用curb gem來進行實際的請求。 # model with property has_attached_file :attachment
def convert_docx_to_pdf
base = "https://
我試圖與路邊的寶石相當於捲曲電話: curl \
-F 'name=My new CA' \
-F 'subtype=CUSTOM' \
-F 'description=People who bought from my website' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.face
我在安裝路邊時遇到問題。當我在控制檯輸入: sudo gem install curb
它返回我以下錯誤: Fetching: curb-0.8.6.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing curb:
ERROR: Failed to bui