gem

bundle install error

淺唱寂寞╮ 提交于 2019-12-07 12:01:27
I'm trying to install this gem: https://github.com/jongilbraith/simple-private-messages with bundle install. And I'm getting the following error message: Updating git://github.com/professionalnerd/simple-private-messages.git Fetching source index for http://rubygems.org/ Could not find gem 'simple-private-messages (>= 0, runtime)' in git://github.com/professionalnerd/simple-private-messages.git (at master). Source does not contain any versions of 'simple-private-messages (>= 0, runtime)' entry in Gemfile : gem "simple-private-messages",:git =>"git://github.com/professionalnerd/simple-private

Error installing json gem: The 'json' native gem requires installed build tools

大兔子大兔子 提交于 2019-12-07 11:41:30
When i'm trying to install this gem it claims that i need to have a devkit installed although i am sure i do have it. It also suggests that i need to update my systems variables in PATH which i have directly linked to the devkit file in ruby. I have seen other questions on Stack Overflow and they didn't work with my issue. here is the full error message: C:\Users\Mahamoud>gem install json ERROR: Error installing json: The 'json' native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from 'http://rubyinstaller.org/downloads' and follow

Nokogiri gem installation error with spree

白昼怎懂夜的黑 提交于 2019-12-07 10:25:02
问题 I'm getting this error when I try to bundle install Bundler::GemspecError: Could not read gem at /home/theareba/.rvm/gems/ruby-2.0.0-p353/cache/nokogiri-1.6.1.gem. It may be corrupted. An error occurred while installing nokogiri (1.6.1), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.6.1'` succeeds before bundling. I've tried removing nokogiri in the cache and bundle installing again in vain. Here's my gemfile source 'https://rubygems.org' gem 'rails', '4.0.0' ruby "2

How do you update JRuby's gem command?

青春壹個敷衍的年華 提交于 2019-12-07 10:02:55
问题 How do we update the version of gem that JRuby uses? JRuby uses gem (1.5.1) and we would like to upgrade it to 1.8.7. We want to have the gems installed in Ruby/gems We run: bin/jruby gem install rubygems-update Fetching: rubygems-update-1.8.5.gem (100%) Successfully installed rubygems-update-1.8.5 1 gem installed bin/jruby gem install --system ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: --system (update does not work either) bin/jruby gem update --system

Isolated engine (doorkeeper) - use helper methods from the main_app

断了今生、忘了曾经 提交于 2019-12-07 09:53:37
问题 I want my doorkeeper views to use the application layout: https://github.com/applicake/doorkeeper/wiki/Customizing-views This contains routes and helper methods from the main application. For the routes, I can prefix main_app to the path but for the helper method I get the following error: undefined method `is_active?' for #<ActionDispatch::Routing::RoutesProxy:0xade808c> <li class="<%= main_app.is_active?("high_voltage/pages", "api") %>"><%= link_to t('developers'), page_path('api') %></li>

create new application ruby on rails

穿精又带淫゛_ 提交于 2019-12-07 09:10:03
问题 I'm bit confused by "easy" working with ruby on rails, cause I already spend three days by trying create an app. I work on site5 hosting, and try to create new app. step by step: $ rails new app -d mysql $ gem install mysql $ gem install mysql2 and after $ rake db:create it report about error Could not find gem 'mysql2 (~> 0.2.6, runtime)' in any of the gem sources listed in your Gemfile. I google it, but still can't fix problem. Can anybody help? 回答1: Running rails new app -d mysql will

Unable to `gem install tiny_tds` OS X Mavericks

喜欢而已 提交于 2019-12-07 09:03:09
问题 The Error $ sudo gem install tiny_tds Building native extensions. This could take a while... ERROR: Error installing tiny_tds: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb checking for iconv_open() in iconv.h... no checking for iconv_open() in -liconv... yes checking for sybfront.h... yes checking for sybdb.h... yes checking for tdsdbopen() in -lsybdb... no HomeBrew The above error occurs even after a $ brew

Rails Bundle, gems conflicts, best way to solve it

删除回忆录丶 提交于 2019-12-07 08:40:51
问题 I meet trouble using Bundle to resolve gems conflict. can't activate builder (~> 2.1.2, runtime) for ["activemodel-3.0.8", "actionpack-3.0.8", "railties-3.0.8"], already activated builder-3.0.0 for ["cucumber-0.10.6"] (Gem::LoadError) So that means active* are requiring builder v 2.1.2 when cucumber want the version 3.0.0. Easy, but ... What i'm supposed to do with this ? Down grade cucumber ? I tried a bundle update but ... seams the last version of active model, pack and railties is 3.0.8.

Bundler won't install mysql2

百般思念 提交于 2019-12-07 08:19:39
问题 First of all I've gone through dozens of posting here on SO and google and haven't been able to find an answer. I'm trying to install mysql2 with bundler and it won't do it. Running on Ubuntu Server 11.04 Natty Here's some background info: ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux] gem -v 1.8.24 rails -v Rails 3.2.5 $ mysql --version mysql Ver 14.14 Distrib 5.1.62, for debian-linux-gnu (x86_64) using readline 6.2 I have gem "mysql2", "~> 0.3.11" in my Gemfile When I do

gem install ffi -v '1.1.5' osx 10.8

ⅰ亾dé卋堺 提交于 2019-12-07 08:00:56
问题 I been trying to install ffi on OSX 10.8 via gem install ffi -v '1.1.5' with the result ERROR: Error installing ffi: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb checking for ffi.h... no checking for ffi.h in /usr/local/include,/usr/include/ffi... no checking for rb_thread_blocking_region()... no checking for ruby_native_thread_p()... no checking for rb_thread_call_with_gvl()... no creating extconf.h creating