similar to: gem issues

Displaying 20 results from an estimated 100000 matches similar to: "gem issues"

2014 Mar 10
0
Mongoid : bson namespace error
Hello All, I had been trying to work on Rails 4 and Mongoid gem. The following are the versions I had installed: bson-2.2.1 mongoid-3.1.6 After installing and trying to run "rails generate" command. It is failing with NameSpace error for BSON::ByteBuffer. It is trying to connect to mongodb server initially and getting successful. Post that it is failing with the following
2011 Jul 04
2
when use mongoid , Model.count can't work.
Hi, when i use mongoid to get the count of model named "User", I met a error : irb(main):001:0> User.count ArgumentError: wrong number of arguments (1 for 0) from /var/lib/gems/1.8/gems/mongoid-2.0.2/lib/mongoid/ cursor.rb:37:in `count'' from /var/lib/gems/1.8/gems/mongoid-2.0.2/lib/mongoid/ cursor.rb:37:in `send'' from
2010 Dec 26
1
Sqlite gem not found with rails3
Hello, I am migrating a rails app to rails3, however I am hanging with an error about gem not found. Error message: Could not find sqlite3-ruby-1.3.2 in any of the sources (Bundler::GemNotFound) Exception class: PhusionPassenger::UnknownError When I do $ gem list sqlite3-ruby-1.3.2 *** LOCAL GEMS *** (and the same result with sudo gem list ) However, when I do gem list
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb config.gem ''collectiveidea-delayed_job'', :source => ''http:// gems.github.com'' >>gem list | grep coll collectiveidea-delayed_job (1.8.2) The gem infact got installed via rake gems:install. but now when I start my app, it doesn''t recognize the gem being installed. Please help. script/generate delayed_job
2010 Jan 19
5
Rubyzip gem installed but not recognised
Hi, I have installed rubyzip successfully(see output below) Successfully installed rubyzip-0.9.1 1 gem installed Installing ri documentation for rubyzip-0.9.1... Installing RDoc documentation for rubyzip-0.9.1... if I put config.gem ''rubyzip'' in environment.rb and then run rails it fails to load rubyzip .. see below george@geolaptop:~/Dropbox/git/paua$ ruby script/server =>
2011 Aug 26
1
gem installation issues
hi all, This may seem trivial and stupid to the experts , but i have been at it for over 2 weeks and all answers got from forums did not help with resolving the issue. Even using cygwin didn''t help , i get the same errors. I''m working on a windows- rails combination and am trying trying to setup an existing application which uses a plethora of gems. I''m done with about
2011 Sep 05
2
Can't upgrade Rails - Failed to build gem native extension.
I am new to Rails and attempting to upgrade Rails on my Mac to latest version so that I can follow the rails tutorial, but I just can''t seem to get anywhere. When I attempt to update rails with: $ sudo gem update rails -y, I receive the following error. ERROR: Error installing rails: ERROR: Failed to build gem native extension. Any ideas what I am doing wrong, or what I can do
2010 Feb 24
5
gem install rmagick --local
Hi all i copied rmagic gem in my local system cd rmagick-2.12.2.gem bash: cd: rmagick-2.12.2.gem: Not a directory *[root@localhost shyam]# gem install rmagick --local* Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc...
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows .. So from irb, I can load hpricot ok. (ruby 1.8.7) C:\Users\Laurence\rails-play\plug-test>irb irb(main):001:0> require ''hpricot'' LoadError: no such file to load -- hpricot from (irb):1:in `require'' from (irb):1 irb(main):002:0> require ''rubygems'' => true irb(main):003:0> require
2011 Feb 10
0
Eeepub gem warnings?
I am using the fabulous eeepub gem to convert a folder full of HTML files into a valid epub package. It works swimmingly, except I get the following errors with each turn of my loop: Minogue_0089 split into chapters... /opt/local/lib/ruby/gems/1.8/gems/eeepub-0.6.1/lib/eeepub/ container_item.rb:19: warning: instance variable @depth not initialized
2010 Feb 12
1
Why does config.gem mess up migration?
I was working this morning, trying to clean up my project and I did something that sent migrations to hell-in-a-hand-basket. I tried to run rake db:migrate --trace I got the following error msg: (in /Users/richardmartin/NetBeansProjects/ReTrace) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Mysql::Error: Table
2010 Jun 08
2
gem install mysql giving error on linux
Hi, I have mysql installed on linux. Whenever I am trying t "gem install mysql -- --with-mysql-dir=/usr/bin/mysql" I am getting following error:- Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb --with-mysql-dir=/usr/bin/mysql checking for mysql_ssl_set()... ***
2010 Feb 26
0
ruby script/cucumber -tags producing a gem error
When I do "ruby script/cucumber" the tests run no issues. When I do the same thing but -tags tag_name I get a gem version error: Where is it coming from and why?? Using the default profile... RubyGem version error: rack(1.0.1 not = 1.1.0) (Gem::LoadError) F:/BACKUP/Backup/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:827:in `report_activate_error''
2010 Jun 15
0
config.gem hassles (again)
Just when i think i''ve got my head around including gems with gem.config in my environment.rb file i hit another hurdle. The latest one involves redlcoth, which one of my plugins needs. my installed redcloth gem is in this folder: /var/lib/gems/1.8/gems/RedCloth-4.2.2/ and its main lib folder is called ''redcloth''. I managed to freeze it into my app by calling
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody, I''m trying to use the prawn gem into a new rails3 application on debian. What I did: As root: - install rubygems, from http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz - gem install rails - gem install prawn - gem install pdf-reader - gem list | grep prawn => prawn (0.8.4) prawn-core (0.8.4) prawn-layout (0.8.4)
2010 Oct 01
3
Gem::FilePermissionError
while i updating my rails version with command, gem install -v=2.3.8 rails i got, ERROR: While executing gem ... (Gem::FilePermissionError) You don''t have write permissions into the /usr/lib/ruby/gems/1.8 directory. how could i solve the problem? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on
2010 May 11
1
Gem::Dependency#version_requirements is deprecated...
Seen when running scripts/console, Ruby version not important. What is this telling me? Loading development environment (Rails 2.3.5) /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/ gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement Checking gem_dependency.rb shows: 118: def requirement
2011 Nov 05
2
Where is my gem file located so that i can rake test
Googling around, I found that apparently adding to the gem file will fix my problems, but where do i find the gem file? what is the name of the gem file? "group :test do # Pretty printed test output gem ''minitest'' ####### add this line ####### end" Here is what happens when i run rake test, please note that i have already installed minitest
2011 Jan 24
1
segmentation fault on RMagick2
Hi, I''m getting this error when I try to create a migration file: $ script/generate migration create_session /Users/administator/.gem/ruby/1.8/gems/rmagick-2.13.1/lib/ RMagick2.bundle: [BUG] Segmentation fault ruby 1.8.7 (2010-12-23 patchlevel 330) [i686-darwin10] Abort trap I''m not sure how to solve it. Any ideas? -- You received this message because you are subscribed
2012 Feb 26
6
can't get rails gem
Hi, I''m brand new to rails, and I have a mac 10.7 that I bought today. I try the following: joelrwesley$ sudo gem install rails Password: Building native extensions. This could take a while... ERROR: Error installing rails: 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