gems

The compiler failed to generate an executable file. (RuntimeError)

匿名 (未验证) 提交于 2019-12-03 01:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I recently upgraded to OS Mountain Lion. A project I'm working on requires gem sys-proctable as a dependency, but when I run bundle install I get: Fetching gem metadata from https://rubygems.org/......... . . . Installing sys-proctable (0.9.2) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /Users/mgriffel/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for rb_pid_t in ruby.h... *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary

Uninstalling rails and gems, getting error \"cannot uninstall, check 'gem list -d …'

匿名 (未验证) 提交于 2019-12-03 01:55:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm going to start with the usual noob line, "I'm new to rails". Oh, and I'm running Mac OSX 10.6.4 I've been following a bunch of guides to get set up, specifically these two here and here . The guides are great, the reason I'm using the second one is because of RVM and the reason I'm using the first is for MYSQL. Anyway, when I started, I wasn't following the directions completely and so after I installed RVM, for some reason I installed rails with sudo gem install rails -v 2.3.8 because thats the version I need. So... I realized

Capybara tests with :js=>true… Routing Error: No route matches [GET] “/assets”

匿名 (未验证) 提交于 2019-12-03 01:55:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm getting a similar error in a number of tests when I add ":js => true" to them. eg: An error occurred in an after hook ActionController::RoutingError: No route matches [GET] "/assets" occurred at /Users/appletart/.rvm/gems/ruby-1.9.3-p0@eventful2/gems/actionpack-3.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' I haven't been testing JavaScript-enabled stuff in my app before and have only just set up to do so by upgrading to Capybara 2 and installing Database Cleaner. config.use_transactional_fixtures = false, and I've

getaddrinfo: nodename nor servname provided, or not known

匿名 (未验证) 提交于 2019-12-03 01:49:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have a Ruby on Rails application that I am deploying on a computer running Mac OS X 10.6. The code where the problem arises is run by a delayed_job. The problem only occurs when it is run through delayed_job. If I run it within a console ( rails console production ) or call the API directly through cURL, it works without any problems. Also, the entire process works without issue in my development environment. Basically, the code works in one place, but for some reason, fails where it has to work. I've searched and found a few

Bitnami GitLab 5.2.0: gitlab_sidekiq not running and could not be started

匿名 (未验证) 提交于 2019-12-03 01:49:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: We are using Bitnami GitLab 5.2.0 . We stumbled upon that we can't push into new repository, like git@192.168.133.10:sandbox/testgit2.git , but we can work with old ones. Closer investigation showed that gitlab_sidekiq is not running. /opt/bitnami/ctlscript.sh restart gitlab_sidekiq gitlab_sidekiq could not be started Where to look? Should I update first? UPDATE: Bitnami GitLab 5.2 server is broken down: can't push code into new repositories. (While old repositories are unaffected) TestProject4 > git remote add origin git @ 192.168

Could not find rake-10.1.0 in any of the sources

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have been working with rails and have been trying to setup passenger with rake 10.1.0 and it sends back me this errors. Here is the link to the error. Website LInk It looks like Bundler could not find a gem . This is probably because your application is being run under a different environment than it 's supposed to. Please check the following: * Is this app supposed to be run as the `rails` user? * Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use.

Rails pg gem Incompatible library version

匿名 (未验证) 提交于 2019-12-03 01:48:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm getting the following 'incompatible library version' error when I try and access my Ruby on Rails website in development mode. incompatible library version - /var/ www / vhosts / launch . site . com / httpdocs / vendor / bundle / ruby / 2.2 . 0 / gems / pg - 0.18 . 4 / lib / pg_ext . so ( LoadError ) / var / www / vhosts / launch . site . com / httpdocs / vendor / bundle / ruby / 2.2 . 0 / gems / pg - 0.18 . 4 / lib / pg . rb : 4 : in `require' /var/www/vhosts/launch.site.com/httpdocs/vendor/bundle/ruby/2.2.0/gems/pg-0.18.4/lib

Getting error in logs ActiveSupport::MessageEncryptor::InvalidMessage when try to deploy Rails 5.2.0 App

匿名 (未验证) 提交于 2019-12-03 01:41:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to deploy a Rails 5.2.0 App on ec2 instance using mina deploy and When it tries to Migrate database it is aborted with following error logs. -----> Migrating database WARNING: Use strings for Figaro configuration. 2 was converted to "2". WARNING: Use strings for Figaro configuration. 5 was converted to "5". I, [2018-07-07T15:15:56.316810 #15933] INFO -- sentry: ** [Raven] Raven 2.7.4 ready to catch errors I, [2018-07-07T15:15:56.579121 #15933] INFO -- sentry: ** [Raven] Raven 2.7.4 ready to catch errors [Simple Form] Simple Form

Selenium Webdriver Chromedriver timeout on start in headless mode

匿名 (未验证) 提交于 2019-12-03 01:34:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am using Selenium Webdriver, with Ruby 32-bit 1.9.3, Chromedriver v2.9.248315, Chrome 38.0.2125.111 m and a local instance of Jenkins 1.588 Gems: cucumber (1.3.17), selenium-webdriver (2.43.0), watir-webdriver (0.6.11) (can provide list of all others if you think necessary) Windows 7 Professional 64-bit edition. When running a Jenkins job which starts Chrome using chromedriver and then trying to interact with it I get a timeout error. When doing the same on my desktop via a command prompt window it works perfectly. Running the

undefined method `groups' for Rails:Module

匿名 (未验证) 提交于 2019-12-03 01:33:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: As usual I've been an idiot and broken rails on my mac somehow. I think it all started when it said the version of rake wasn't recent enough so I delved down a huge road of different gems etc. and different versions of rails, I ended up getting rails from github but it replaces it with the most recent version. Now I fear all of my configuration files are incorrect, but when I try to 'rake rails:update' I get the following error with a trace: rake aborted! undefined method `groups' for Rails:Module /Users/jamielawrence/Documents/Websites