gemspecs Questions

8

Solved

Hi I'm trying to run my react native app on mac mini. I can run another app also this app to but when i write pod install in terminal it gives this error. 1: from /System/Library/Frameworks/Ruby.fr...
Estey asked 8/9, 2021 at 6:50

2

After combing through Google I know what goes in a gemspec file for my project, but I have no clue as to why we need it, I guess I'm looking for a practical definition. (Currently working through ...
Leolaleoline asked 24/9, 2016 at 3:51

5

Solved

Is possible have a git branch dependency, inside mygem.gemspec? I'm thinking something similar to the following: gem.add_runtime_dependency 'oauth2', :git => '[email protected]:lgs/oauth2...
Walter asked 27/6, 2011 at 21:57

4

When I install a gem from github it gives me the error: number_internationalizer at /usr/local/rvm/gems/ruby-1.9.3-p194@number_internationalizer/bundler/gems/number_internationalizer-c0d642b04e87 ...
Cinerary asked 24/10, 2012 at 16:50

3

Solved

I'm running into the following error: #ERROR C:\Users\Farooq>D: D:\>irb irb(main):001:0> require 'rubygems' => false irb(main):002:0> require 'watir' LoadError: cannot load such...
Marrero asked 5/10, 2013 at 16:24

3

Solved

In my own gem, I have a Gemfile that looks basically like this: source 'https://my.gemserver.com' source 'https://rubygems.org' gemspec My .gemspec has all dependencies listed as add_dependency...
Nocturne asked 10/3, 2015 at 12:52

3

Solved

I had tried in this way: s.add_dependency 'gem', :path => '../gem' like add gem in the gemfile, but it doesn't work, and will cause this error: /Users/chenqh/.rvm/rubies/ruby-1.9.3-p194/lib...

1

I'm building a gem that uses rails-assets-growl gem. This gem can be added to my Gemfile using a different source than 'https://rubygems.org' like this: source 'https://rails-assets.org' do gem '...
Quandary asked 18/7, 2016 at 19:52

4

Solved

I'm developing a gem, and my Gemfile looks like this: source :rubygems gemspec group :development, :test do gem "pry" gem "debugger" gem "rake" end However, I don't want people to have to i...
Icebreaker asked 15/5, 2012 at 14:9

1

Solved

I'm building a rails engine which uses foreign keys in migrations. add_foreign_key "theblog_content_nodes", "theblog_content_statuses", column: :content_status_id From the version 4.2 rails su...
Chapen asked 2/12, 2015 at 11:31

2

Solved

In my gem development directory, I moved the file lib/project/module.rb to lib/project/helpers/module.rb and then did bundle install This gave me an invalid gemspec error project at /path/p...
Dominion asked 20/11, 2013 at 5:36

2

Solved

I'm trying to build a custom gem I wrote called client_package but it is failing. My directory structure looks like this: client_package Gemfile Gemfile.lock client_package.gemspec Rakefile ...
Marriage asked 18/10, 2011 at 23:42

1

Solved

I am not clear on what certain specifications in the .gemspec file are doing. Specifically, spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.bas...
Spillman asked 7/8, 2014 at 19:12

1

Solved

I'm trying to push my updated gem to rubygems.com and am getting the following result. ~/dev/V2/V2GPTI (master) $ gem build v2gpti.gemspec Successfully built RubyGem Name: v2gpti Version: 0.2 ...
Janitress asked 1/5, 2014 at 22:19

3

Solved

I am including 'acts_as_rateable' gem in my Gemfile like this gem 'acts_as_rateable', :git => 'git://github.com/azabaj/acts_as_rateable.git' and then when I do bundle install it gives me this err...
Fingerling asked 11/11, 2010 at 15:4

1

Solved

I currently have the following in my Gemfile: gem 'voteable_mongo'#, :github => 'kamilski81/voteable_mongo' and I migrating my models into a .gemspec, but i'm not sure how this would look ins...
Lime asked 31/3, 2013 at 18:48

2

Solved

I wrote a gem with a certain array of dependencies, and some of them I'd like not to have implicitly required when bundled into another project. An example is the uuidtools gem, which I only want t...
Rogelioroger asked 9/10, 2012 at 7:43

2

I am using a gem which is in vendor/gems/some-api-0.1.0, copied over from another project, and added to Gemfile: gem 'some-api', :path => '~/development/myproj/vendor/gems/some-api-0.1.0' but...

3

Solved

Invalid gemspec in [/usr/lib/ruby/gems/1.8/specifications/activemodel-3.2.0.gemspec]: Illformed requirement ["#<YAML::Syck::DefaultKey:0xb5f9c990> 3.2.0"] From trying to do a sudo gem updat...
Dionedionis asked 25/1, 2012 at 15:0

1

Solved

I found this in Gemspec file of surveyor gem. What does the following line do? $:.push File.expand_path("../lib", __FILE__) require "surveyor/version" Why does the $:.push thing do? To me it loo...
Fayfayal asked 29/4, 2012 at 14:27

1

Solved

I'm trying to specify a git source in my Jeweler Rake file: gem.add_dependency 'myapp', :git => "[email protected]:myaddress/myapp.git", :branch => "mybranch" but I hit a format erro...
Isosteric asked 1/11, 2011 at 21:7

1

Solved

Is there a way to configure a gem's gemspec to print an important informational message right after someone downloads and installs the gem using gem install?
Wetmore asked 1/7, 2011 at 2:23

1

Solved

Gem's(gemfoo) jeweler declaration in Rakefile looks like that: Jeweler::Tasks.new do |gem| #truncated gem.add_runtime_dependency 'nokogiri', '~> 1.4.1' gem.add_development_dependency 'jewele...
Ranice asked 12/5, 2011 at 17:7

2

Solved

Following these easy steps: gem unpack spree_easy_contact -v 1.0.2 --target vendor/gems Unpacked gem: '../vendor/gems/spree_easy_contact-1.0.2' And then in my Gemfile I add this line : gem "sp...
Reflective asked 11/2, 2011 at 15:50

1

Solved

Is there a clean way to extract the version string from a .gemspec file? (The gem is not yet installed) e.g. somethingcool.gemspec is Gem::Specification.new do |s| s.name = "somethingcool" s.ve...
Humorous asked 16/7, 2010 at 7:16

© 2022 - 2024 — McMap. All rights reserved.