bigcartel / dugway

Easily build and test Big Cartel themes.
https://developers.bigcartel.com/api/themes
MIT License
149 stars 22 forks source link

Installation Error #108

Closed kmgdevelopment closed 10 years ago

kmgdevelopment commented 10 years ago

I get this error when trying to install Dugway:

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
nickendle commented 10 years ago

There are a few different ways you can solve this - one of them is using sudo gem install dugway instead of gem install dugway, but I'd recommend checking out this post on Stack Overflow so you can find out more info: http://stackoverflow.com/questions/14607193/installing-gem-or-updating-rubygems-fails-with-permissions-error

kmgdevelopment commented 10 years ago

After using sudo gem install dugway I get a pile of errors:

sudo gem install dugway
Building native extensions.  This could take a while...
ERROR:  Error installing dugway:
    ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
checking for main() in -lssl... yes
checking for main() in -lcrypto... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
creating Makefile

make "DESTDIR="
compiling binder.cpp
compiling cmain.cpp
compiling ed.cpp
compiling em.cpp
compiling kb.cpp
compiling page.cpp
compiling pipe.cpp
compiling rubymain.cpp
rubymain.cpp:330:17: warning: 'BIO_s_mem' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                out = BIO_new(BIO_s_mem());
                              ^
/usr/include/openssl/bio.h:626:13: note: 'BIO_s_mem' declared here
BIO_METHOD *BIO_s_mem(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
            ^
rubymain.cpp:330:9: warning: 'BIO_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                out = BIO_new(BIO_s_mem());
                      ^
/usr/include/openssl/bio.h:591:7: note: 'BIO_new' declared here
BIO *   BIO_new(BIO_METHOD *type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
rubymain.cpp:332:3: warning: 'BIO_ctrl' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                BIO_get_mem_ptr(out, &buf);
                ^
/usr/include/openssl/bio.h:506:31: note: expanded from macro 'BIO_get_mem_ptr'
#define BIO_get_mem_ptr(b,pp)   BIO_ctrl(b,BIO_C_GET_BUF_MEM_PTR,0,(char *)pp)
                                ^
/usr/include/openssl/bio.h:600:6: note: 'BIO_ctrl' declared here
long    BIO_ctrl(BIO *bp,int cmd,long larg,void *parg) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
rubymain.cpp:335:3: warning: 'BIO_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                BIO_free(out);
                ^
/usr/include/openssl/bio.h:593:5: note: 'BIO_free' declared here
int     BIO_free(BIO *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
4 warnings generated.
compiling ssl.cpp
ssl.cpp:97:13: warning: 'BIO_new_mem_buf' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        BIO *bio = BIO_new_mem_buf (PrivateMaterials, -1);
                   ^
/usr/include/openssl/bio.h:627:6: note: 'BIO_new_mem_buf' declared here
BIO *BIO_new_mem_buf(void *buf, int len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
ssl.cpp:102:3: warning: 'EVP_PKEY_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                EVP_PKEY_free (DefaultPrivateKey);
                ^
/usr/include/openssl/evp.h:885:7: note: 'EVP_PKEY_free' declared here
void            EVP_PKEY_free(EVP_PKEY *pkey) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
                ^
ssl.cpp:114:2: warning: 'BIO_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        BIO_free (bio);
        ^
/usr/include/openssl/bio.h:593:5: note: 'BIO_free' declared here
int     BIO_free(BIO *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:138:3: warning: 'SSL_library_init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_library_init();
                ^
/usr/include/openssl/ssl.h:1553:5: note: 'SSL_library_init' declared here
int SSL_library_init(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:139:3: warning: 'SSL_library_init' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                OpenSSL_add_ssl_algorithms();
                ^
/usr/include/openssl/ssl.h:1141:38: note: expanded from macro 'OpenSSL_add_ssl_algorithms'
#define OpenSSL_add_ssl_algorithms()    SSL_library_init()
                                        ^
/usr/include/openssl/ssl.h:1553:5: note: 'SSL_library_init' declared here
int SSL_library_init(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:140:3: warning: 'OPENSSL_add_all_algorithms_noconf' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                OpenSSL_add_all_algorithms();
                ^
/usr/include/openssl/evp.h:836:3: note: expanded from macro 'OpenSSL_add_all_algorithms'
                OPENSSL_add_all_algorithms_noconf()
                ^
/usr/include/openssl/evp.h:828:6: note: 'OPENSSL_add_all_algorithms_noconf' declared here
void OPENSSL_add_all_algorithms_noconf(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
ssl.cpp:141:3: warning: 'SSL_load_error_strings' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_load_error_strings();
                ^
/usr/include/openssl/ssl.h:1416:6: note: 'SSL_load_error_strings' declared here
void    SSL_load_error_strings(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:142:3: warning: 'ERR_load_crypto_strings' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                ERR_load_crypto_strings();
                ^
/usr/include/openssl/err.h:296:6: note: 'ERR_load_crypto_strings' declared here
void ERR_load_crypto_strings(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
ssl.cpp:148:34: warning: 'SSLv23_server_method' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pCtx = SSL_CTX_new (is_server ? SSLv23_server_method() : SSLv23_client_method());
                                        ^
/usr/include/openssl/ssl.h:1516:13: note: 'SSLv23_server_method' declared here
SSL_METHOD *SSLv23_server_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;   /* SSLv3 but can rollback to v2 */
            ^
ssl.cpp:148:59: warning: 'SSLv23_client_method' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pCtx = SSL_CTX_new (is_server ? SSLv23_server_method() : SSLv23_client_method());
                                                                 ^
/usr/include/openssl/ssl.h:1517:13: note: 'SSLv23_client_method' declared here
SSL_METHOD *SSLv23_client_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;   /* SSLv3 but can rollback to v2 */
            ^
ssl.cpp:148:9: warning: 'SSL_CTX_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pCtx = SSL_CTX_new (is_server ? SSLv23_server_method() : SSLv23_client_method());
               ^
/usr/include/openssl/ssl.h:1346:10: note: 'SSL_CTX_new' declared here
SSL_CTX *SSL_CTX_new(SSL_METHOD *meth) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
         ^
ssl.cpp:152:2: warning: 'SSL_CTX_ctrl' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SSL_CTX_set_options (pCtx, SSL_OP_ALL);
        ^
/usr/include/openssl/ssl.h:571:2: note: expanded from macro 'SSL_CTX_set_options'
        SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
        ^
/usr/include/openssl/ssl.h:1498:6: note: 'SSL_CTX_ctrl' declared here
long    SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:162:8: warning: 'SSL_CTX_use_PrivateKey_file' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        e = SSL_CTX_use_PrivateKey_file (pCtx, privkeyfile.c_str(), SSL_FILETYPE_PEM);
                            ^
/usr/include/openssl/ssl.h:1401:5: note: 'SSL_CTX_use_PrivateKey_file' declared here
int     SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:164:8: warning: 'SSL_CTX_use_PrivateKey' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        e = SSL_CTX_use_PrivateKey (pCtx, DefaultPrivateKey);
                            ^
/usr/include/openssl/ssl.h:1466:5: note: 'SSL_CTX_use_PrivateKey' declared here
int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:165:15: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                if (e <= 0) ERR_print_errors_fp(stderr);
                            ^
/usr/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here
void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
ssl.cpp:169:8: warning: 'SSL_CTX_use_certificate_chain_file' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        e = SSL_CTX_use_certificate_chain_file (pCtx, certchainfile.c_str());
                            ^
/usr/include/openssl/ssl.h:1403:5: note: 'SSL_CTX_use_certificate_chain_file' declared here
int     SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* PEM type */
        ^
ssl.cpp:171:8: warning: 'SSL_CTX_use_certificate' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        e = SSL_CTX_use_certificate (pCtx, DefaultCertificate);
                            ^
/usr/include/openssl/ssl.h:1469:5: note: 'SSL_CTX_use_certificate' declared here
int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:172:15: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                if (e <= 0) ERR_print_errors_fp(stderr);
                            ^
/usr/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here
void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
ssl.cpp:176:2: warning: 'SSL_CTX_set_cipher_list' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SSL_CTX_set_cipher_list (pCtx, "ALL:!ADH:!LOW:!EXP:!DES-CBC3-SHA:@STRENGTH");
        ^
/usr/include/openssl/ssl.h:1345:5: note: 'SSL_CTX_set_cipher_list' declared here
int     SSL_CTX_set_cipher_list(SSL_CTX *,const char *str) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:179:3: warning: 'SSL_CTX_ctrl' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_CTX_sess_set_cache_size (pCtx, 128);
                ^
/usr/include/openssl/ssl.h:1604:2: note: expanded from macro 'SSL_CTX_sess_set_cache_size'
        SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_SIZE,t,NULL)
        ^
/usr/include/openssl/ssl.h:1498:6: note: 'SSL_CTX_ctrl' declared here
long    SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:180:3: warning: 'SSL_CTX_set_session_id_context' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_CTX_set_session_id_context (pCtx, (unsigned char*)"eventmachine", 12);
                ^
/usr/include/openssl/ssl.h:1478:5: note: 'SSL_CTX_set_session_id_context' declared here
int     SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx,
        ^
ssl.cpp:185:8: warning: 'SSL_CTX_use_PrivateKey_file' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        e = SSL_CTX_use_PrivateKey_file (pCtx, privkeyfile.c_str(), SSL_FILETYPE_PEM);
                            ^
/usr/include/openssl/ssl.h:1401:5: note: 'SSL_CTX_use_PrivateKey_file' declared here
int     SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:186:16: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        if (e <= 0) ERR_print_errors_fp(stderr);
                                    ^
/usr/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here
void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
ssl.cpp:190:8: warning: 'SSL_CTX_use_certificate_chain_file' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        e = SSL_CTX_use_certificate_chain_file (pCtx, certchainfile.c_str());
                            ^
/usr/include/openssl/ssl.h:1403:5: note: 'SSL_CTX_use_certificate_chain_file' declared here
int     SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER; /* PEM type */
        ^
ssl.cpp:191:16: warning: 'ERR_print_errors_fp' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        if (e <= 0) ERR_print_errors_fp(stderr);
                                    ^
/usr/include/openssl/err.h:287:6: note: 'ERR_print_errors_fp' declared here
void ERR_print_errors_fp(FILE *fp) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
     ^
ssl.cpp:206:3: warning: 'SSL_CTX_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_CTX_free (pCtx);
                ^
/usr/include/openssl/ssl.h:1347:6: note: 'SSL_CTX_free' declared here
void    SSL_CTX_free(SSL_CTX *) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:208:3: warning: 'EVP_PKEY_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                EVP_PKEY_free (PrivateKey);
                ^
/usr/include/openssl/evp.h:885:7: note: 'EVP_PKEY_free' declared here
void            EVP_PKEY_free(EVP_PKEY *pkey) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
                ^
ssl.cpp:234:22: warning: 'BIO_s_mem' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pbioRead = BIO_new (BIO_s_mem());
                            ^
/usr/include/openssl/bio.h:626:13: note: 'BIO_s_mem' declared here
BIO_METHOD *BIO_s_mem(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
            ^
ssl.cpp:234:13: warning: 'BIO_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pbioRead = BIO_new (BIO_s_mem());
                   ^
/usr/include/openssl/bio.h:591:7: note: 'BIO_new' declared here
BIO *   BIO_new(BIO_METHOD *type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:237:23: warning: 'BIO_s_mem' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pbioWrite = BIO_new (BIO_s_mem());
                             ^
/usr/include/openssl/bio.h:626:13: note: 'BIO_s_mem' declared here
BIO_METHOD *BIO_s_mem(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
            ^
ssl.cpp:237:14: warning: 'BIO_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pbioWrite = BIO_new (BIO_s_mem());
                    ^
/usr/include/openssl/bio.h:591:7: note: 'BIO_new' declared here
BIO *   BIO_new(BIO_METHOD *type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:240:9: warning: 'SSL_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        pSSL = SSL_new (Context->pCtx);
               ^
/usr/include/openssl/ssl.h:1481:7: note: 'SSL_new' declared here
SSL *   SSL_new(SSL_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:242:2: warning: 'SSL_set_bio' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SSL_set_bio (pSSL, pbioRead, pbioWrite);
        ^
/usr/include/openssl/ssl.h:1375:6: note: 'SSL_set_bio' declared here
void    SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:245:2: warning: 'SSL_set_ex_data' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        SSL_set_ex_data(pSSL, 0, (void*) binding);
        ^
/usr/include/openssl/ssl.h:1586:5: note: 'SSL_set_ex_data' declared here
int SSL_set_ex_data(SSL *ssl,int idx,void *data) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:248:3: warning: 'SSL_set_verify' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_set_verify(pSSL, SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, ssl_verify_wrapper);
                ^
/usr/include/openssl/ssl.h:1384:6: note: 'SSL_set_verify' declared here
void    SSL_set_verify(SSL *s, int mode,
        ^
ssl.cpp:251:3: warning: 'SSL_connect' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_connect (pSSL);
                ^
/usr/include/openssl/ssl.h:1492:6: note: 'SSL_connect' declared here
int     SSL_connect(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:264:7: warning: 'SSL_get_shutdown' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                if (SSL_get_shutdown (pSSL) & SSL_RECEIVED_SHUTDOWN)
                    ^
/usr/include/openssl/ssl.h:1568:5: note: 'SSL_get_shutdown' declared here
int SSL_get_shutdown(const SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:265:4: warning: 'SSL_shutdown' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        SSL_shutdown (pSSL);
                        ^
/usr/include/openssl/ssl.h:1532:5: note: 'SSL_shutdown' declared here
int SSL_shutdown(SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:267:4: warning: 'SSL_clear' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        SSL_clear (pSSL);
                        ^
/usr/include/openssl/ssl.h:1353:5: note: 'SSL_clear' declared here
int     SSL_clear(SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:268:3: warning: 'SSL_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                SSL_free (pSSL);
                ^
/usr/include/openssl/ssl.h:1490:6: note: 'SSL_free' declared here
void    SSL_free(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:285:10: warning: 'BIO_write' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        int n = BIO_write (pbioRead, buf, bufsize);
                ^
/usr/include/openssl/bio.h:597:5: note: 'BIO_write' declared here
int     BIO_write(BIO *b, const void *data, int len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:297:7: warning: 'SSL_state' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        if (!SSL_is_init_finished (pSSL)) {
             ^
/usr/include/openssl/ssl.h:1115:35: note: expanded from macro 'SSL_is_init_finished'
#define SSL_is_init_finished(a)         (SSL_state(a) == SSL_ST_OK)
                                         ^
/usr/include/openssl/ssl.h:1581:5: note: 'SSL_state' declared here
int SSL_state(const SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:298:23: warning: 'SSL_accept' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                int e = bIsServer ? SSL_accept (pSSL) : SSL_connect (pSSL);
                                    ^
/usr/include/openssl/ssl.h:1491:6: note: 'SSL_accept' declared here
int     SSL_accept(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:298:43: warning: 'SSL_connect' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                int e = bIsServer ? SSL_accept (pSSL) : SSL_connect (pSSL);
                                                        ^
/usr/include/openssl/ssl.h:1492:6: note: 'SSL_connect' declared here
int     SSL_connect(SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:300:13: warning: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        int er = SSL_get_error (pSSL, e);
                                 ^
/usr/include/openssl/ssl.h:1501:5: note: 'SSL_get_error' declared here
int     SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:312:7: warning: 'SSL_state' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        if (!SSL_is_init_finished (pSSL)) {
             ^
/usr/include/openssl/ssl.h:1115:35: note: expanded from macro 'SSL_is_init_finished'
#define SSL_is_init_finished(a)         (SSL_state(a) == SSL_ST_OK)
                                         ^
/usr/include/openssl/ssl.h:1581:5: note: 'SSL_state' declared here
int SSL_state(const SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:321:10: warning: 'SSL_read' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        int n = SSL_read (pSSL, buf, bufsize);
                ^
/usr/include/openssl/ssl.h:1493:6: note: 'SSL_read' declared here
int     SSL_read(SSL *ssl,void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:326:7: warning: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                if (SSL_get_error (pSSL, n) == SSL_ERROR_WANT_READ) {
                    ^
/usr/include/openssl/ssl.h:1501:5: note: 'SSL_get_error' declared here
int     SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:346:9: warning: 'BIO_ctrl' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        return BIO_pending (pbioWrite) ? true : false;
               ^
/usr/include/openssl/bio.h:524:30: note: expanded from macro 'BIO_pending'
#define BIO_pending(b)          (int)BIO_ctrl(b,BIO_CTRL_PENDING,0,NULL)
                                     ^
/usr/include/openssl/bio.h:600:6: note: 'BIO_ctrl' declared here
long    BIO_ctrl(BIO *bp,int cmd,long larg,void *parg) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:360:9: warning: 'BIO_read' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        return BIO_read (pbioWrite, buf, bufsize);
               ^
/usr/include/openssl/bio.h:595:5: note: 'BIO_read' declared here
int     BIO_read(BIO *b, void *data, int len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:390:7: warning: 'SSL_state' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        if (!SSL_is_init_finished (pSSL))
             ^
/usr/include/openssl/ssl.h:1115:35: note: expanded from macro 'SSL_is_init_finished'
#define SSL_is_init_finished(a)         (SSL_state(a) == SSL_ST_OK)
                                         ^
/usr/include/openssl/ssl.h:1581:5: note: 'SSL_state' declared here
int SSL_state(const SSL *ssl) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:401:11: warning: 'SSL_write' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                int n = SSL_write (pSSL, page, length);
                        ^
/usr/include/openssl/ssl.h:1495:6: note: 'SSL_write' declared here
int     SSL_write(SSL *ssl,const void *buf,int num) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:407:13: warning: 'SSL_get_error' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                        int er = SSL_get_error (pSSL, n);
                                 ^
/usr/include/openssl/ssl.h:1501:5: note: 'SSL_get_error' declared here
int     SSL_get_error(const SSL *s,int ret_code) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:432:10: warning: 'SSL_get_peer_certificate' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
                cert = SSL_get_peer_certificate(pSSL);
                       ^
/usr/include/openssl/ssl.h:1450:8: note: 'SSL_get_peer_certificate' declared here
X509 *  SSL_get_peer_certificate(const SSL *s) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:451:9: warning: 'X509_STORE_CTX_get_current_cert' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        cert = X509_STORE_CTX_get_current_cert(ctx);
               ^
/usr/include/openssl/x509_vfy.h:454:8: note: 'X509_STORE_CTX_get_current_cert' declared here
X509 *  X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:452:47: warning: 'SSL_get_ex_data_X509_STORE_CTX_idx' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        ssl = (SSL*) X509_STORE_CTX_get_ex_data(ctx, SSL_get_ex_data_X509_STORE_CTX_idx());
                                                     ^
/usr/include/openssl/ssl.h:1601:5: note: 'SSL_get_ex_data_X509_STORE_CTX_idx' declared here
int SSL_get_ex_data_X509_STORE_CTX_idx(void ) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
    ^
ssl.cpp:452:15: warning: 'X509_STORE_CTX_get_ex_data' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        ssl = (SSL*) X509_STORE_CTX_get_ex_data(ctx, SSL_get_ex_data_X509_STORE_CTX_idx());
                     ^
/usr/include/openssl/x509_vfy.h:450:8: note: 'X509_STORE_CTX_get_ex_data' declared here
void *  X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:453:28: warning: 'SSL_get_ex_data' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        binding = (unsigned long) SSL_get_ex_data(ssl, 0);
                                  ^
/usr/include/openssl/ssl.h:1587:7: note: 'SSL_get_ex_data' declared here
void *SSL_get_ex_data(const SSL *ssl,int idx) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
      ^
ssl.cpp:455:16: warning: 'BIO_s_mem' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        out = BIO_new(BIO_s_mem());
                      ^
/usr/include/openssl/bio.h:626:13: note: 'BIO_s_mem' declared here
BIO_METHOD *BIO_s_mem(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
            ^
ssl.cpp:455:8: warning: 'BIO_new' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        out = BIO_new(BIO_s_mem());
              ^
/usr/include/openssl/bio.h:591:7: note: 'BIO_new' declared here
BIO *   BIO_new(BIO_METHOD *type) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:457:2: warning: 'BIO_write' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        BIO_write(out, "\0", 1);
        ^
/usr/include/openssl/bio.h:597:5: note: 'BIO_write' declared here
int     BIO_write(BIO *b, const void *data, int len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:458:2: warning: 'BIO_ctrl' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        BIO_get_mem_ptr(out, &buf);
        ^
/usr/include/openssl/bio.h:506:31: note: expanded from macro 'BIO_get_mem_ptr'
#define BIO_get_mem_ptr(b,pp)   BIO_ctrl(b,BIO_C_GET_BUF_MEM_PTR,0,(char *)pp)
                                ^
/usr/include/openssl/bio.h:600:6: note: 'BIO_ctrl' declared here
long    BIO_ctrl(BIO *bp,int cmd,long larg,void *parg) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
ssl.cpp:462:2: warning: 'BIO_free' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]
        BIO_free(out);
        ^
/usr/include/openssl/bio.h:593:5: note: 'BIO_free' declared here
int     BIO_free(BIO *a) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
        ^
63 warnings generated.
linking shared-object rubyeventmachine.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [rubyeventmachine.bundle] Error 1

Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3/ext/gem_make.out
nickendle commented 10 years ago

Unfortunately this looks like a problem that's bigger than what we can offer support for - there's an issue with the eventmachine gem and SSL on your system, and dugway needs eventmachine to install properly.

You may want to check out this thread on SO, or post a separate question there for help: http://stackoverflow.com/questions/6271038/cant-install-eventmachine-on-mac-osx-snow-leopard

outerim commented 10 years ago

@kgrote Hey do you know which version of osx you're on? The built-in version of ruby that comes with osx can't build gems with native extensions properly. If you're on Mavericks (osx 10.9.x) I recommend installing the Xcode tools and homebrew. If that's the case the documentation here is pretty good http://guides.railsgirls.com/install/#setup-for-os-x (start with step 3-B). Best of luck, and sorry you're having so much trouble getting running.

kmgdevelopment commented 10 years ago

I just can't seem to win here. I went through the tutorial that @outerim linked to, and the Dugway install seemed to go correctly (no errors that I could see - "28 gems installed"), but when I try to create a theme I get

-bash: dugway: command not found

sigh. Rails is annoying.

outerim commented 10 years ago

@kgrote I think you're super close. Try running rbenv rehash and then try your dugway command again.

outerim commented 10 years ago

Side note, getting a development environment for ruby that functions is a bit challenging, particularly if you're new to it. If you hit a wall perhaps I could screen share with you and help you get it running.

kmgdevelopment commented 10 years ago

rbenv rehash did the trick. Thanks for talking me through it, @outerim, I really appreciate it.

outerim commented 10 years ago

Awesome, glad to hear it. No trouble at all.

russomike commented 10 years ago

'rbenv rehash' solved my issues too thanks!

highresfelix commented 6 years ago

After using sudo gem install dugway I get a an error: https://github.com/bigcartel/dugway/issues/156