rubygems

Why is Phusion Passenger refusing to recognize my updated RubyGems?

耗尽温柔 提交于 2019-12-11 08:59:18
问题 I've updated RubyGems everywhere I can possibly think to update it: The various places I've updated RubyGems http://files.droplr.com/files/14167865/zel8k.Screen%20shot%202010-03-09%20at%2017:24:59.png but Phusion passenger keeps throwing the same error: Error Screenshot http://files.droplr.com/files/14167865/zee8W.Screen%20shot%202010-03-09%20at%2017:19:50.png There is that one freaking place that shows 1.3.1 as the version, despite the file name of 1.3.6. I've obviously borked things up

ruby-debug-base19-0.11.26.gem on WIN x64

帅比萌擦擦* 提交于 2019-12-11 08:14:23
问题 Info about my system: ruby -v -> ruby 1.9.3p125 (2012-02-16) [i386-mingw32] gem -v -> 1.8.24 when i'm running bundle install output: Fetching source index for http://rubygems.org/ Could not find ruby-debug-base19-0.11.26 in any of the sources the firewall is OFF I downloaded this file: ruby-debug-base19-0.11.26.gem but when i run: gem install ruby-debug-base19-0.11.26.gem outputs: Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR:

Ruby DevKit not working for RedCloth and other gems on WindowsXP

妖精的绣舞 提交于 2019-12-11 08:06:56
问题 I'm a completely new to RoR and don't have much web development experience. I usually give up at this point, but I need a RoR dev environment for a job and I can't pick the brain of the site's creator because he's someone outside of the company and made it clear that he's completely unfamiliar with Windows (he develops on a mac and I'm starting to see why...). This is my first time posting so be kind... Goal: Be able to view a RoR based site on local machine, preferably using a pre-existing

OS X 10.6 Installing Nokogiri

ⅰ亾dé卋堺 提交于 2019-12-11 08:06:25
问题 I am very new to OS X and I don't know anything about compiling, MacPorts, Homebrew, etc. All I want to do is install the Nokogiri gem on OS X. In Windows, it was as simple as: gem install nokogiri However, when I try this on OS X, I get the following message: Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can't find

Rails Geocoder “undefined method error”

删除回忆录丶 提交于 2019-12-11 07:58:54
问题 Another true newbie on Ruby here, so please be gentle... I'm working with alexreisner's Geocoder on rails 3.0 and am unable to call methods from the Geocoder::Results lib. I've pored over the Geocoder documentation, but I can't accomplish one simple thing: pull out a "state" result from a user-submitted address. So turn "123 Fake Street, San Francisco, CA" into "CA" or "California." (My program will only use the "state" information for now to help determine results, but I'd like to have full

Custom Model - “no such file to load — odbc”

ぐ巨炮叔叔 提交于 2019-12-11 07:50:15
问题 I'm trying to create a custom model to interface with a database that isn't supported navtively by Rails or through the OpenLink ODBC driver. For some reason, I'm getting the following error: no such file to load -- odbc I'm at a lost as to why this is occurring as the ruby-odbc gem is in the GEM_PATH and I have a small script that tests this to ensure that the connection works and it worked perfectly. Does Rails ignore the gem_path? Is there something else I need to configure? I checked the

Error while installing ImageMagick for Ruby on Rails on Windows

南笙酒味 提交于 2019-12-11 07:41:47
问题 I'm installing ruby on rails and redmine with xampp following this documentation: http://nlb-creations.com/2013/06/26/installing-ruby-on-rails-and-redmine-with-xampp-on-windows-7/ Step 12 requires installing rmagick, I followed the steps correctly till I reached 12-d : In the cmd window, run the following: gem install rmagick --platform=ruby -- --with-opt-lib=c:/ImageMagick/lib --with-opt-include=c:/ImageMagick/include I got the following error: C:\xampp\htdocs\dev-ruby\redmine>gem install

acts-as-taggable-on on Heroku

删除回忆录丶 提交于 2019-12-11 07:33:04
问题 I've been using the acts-as-taggable-on for tagging in my development app, but when I push it to Heroku, I get a nasty error: ActionView::TemplateError (PGError: ERROR: relation "tags" does not exist : SELECT tags.*, taggings.tags_count AS count FROM "tags" JOIN (SELECT taggings.tag_id, COUNT(taggings.tag_id) AS tags_count FROM "taggings" INNER JOIN offers ON offers.id = taggings.taggable_id WHERE (taggings.taggable_type = E'Offer' AND taggings.context = E'tags') GROUP BY taggings.tag_id

How do I run 'gem install bundler' in RubyMine?

自闭症网瘾萝莉.ら 提交于 2019-12-11 07:32:33
问题 I'm having trouble with updating Ruby in my RubyMine IDE. I get an error reporting that I need to run gem bundle install but I haven't found a place in my IDE to run that command. I have run it in my Ubuntu console and everything works fine, but I can't find a console in the IDE that I can use to run the command and update that environment. I assume there's an easy solution, but google has not helped much in finding it. Any help would be much appreciated. 回答1: For Rubymine 18.1 and above,

Jekyll serve error: can't find gem jekyll (>= 0.a) (Gem::GemNotFoundException

我与影子孤独终老i 提交于 2019-12-11 07:29:50
问题 When doing sudo jekyll serve I get the following error: Users/myusername/.rvm/rubies/ruby-2.4.2/lib/ruby/site_ruby/2.4.0/rubygems.rb:271:in 'find_spec_for_exe': can't find gem jekyll (>= 0.a) (Gem::GemNotFoundException) from /Users/myusername/.rvm/rubies/ruby-2.4.2/lib/ruby/site_ruby/2.4.0/rubygems.rb:299:in 'activate_bin_path' from /Users/myusername/.rvm/gems/ruby-2.4.2/bin/jekyll:23:in '<main>' from /Users/myusername/.rvm/gems/ruby-2.4.2/bin/ruby_executable_hooks:15:in 'eval' from /Users