similar to: Build gem from .gemspec to store locally

Displaying 20 results from an estimated 70000 matches similar to: "Build gem from .gemspec to store locally"

2010 Sep 20
1
Should a Gem's dependencies be listed in the parent app's Gemfile?
I am working on a Gem that has several Gem dependencies of its own. The Gem''s .gemspec looks good (I think) and when "bundle install" is called from the parent app, it lists that it is indeed "Using" the Gem''s required Gems. I''ll refrain from an Inception analogy here ;) When I fire up the app and make a request, I get "uninitialized constant
2011 Oct 29
0
Invalid gemspec. How to fix this?
Hi. I have just started out using Rails and I am getting these messages in every rails command. Any idea how to fix this? Invalid gemspec in [/var/lib/gems/1.8/specifications/ tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00.000000000Z" Invalid gemspec in [/var/lib/gems/1.8/specifications/ json-1.6.1.gemspec]: invalid date format in specification:
2011 Oct 03
4
gem update --system issue
I run the command $gem update --system after all time while installing gems and even $rails -v command also giving below error Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 00:00:00.000000000Z" Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.0.gemspec]: invalid
2012 Jan 20
2
Build a ruby gem and conditionally specify dependencies
I am working on a gem that has needs to set dependencies conditionally when the gem is installed. I''ve done some digging around and it looks like i''m not alone in this need. http://stackoverflow.com/questions/4596606/rubygems-how-do-i-add-platform-specific-dependency # this is a long thread http://www.ruby-forum.com/topic/957999 The only way I can see to add dependencies to
2004 Nov 04
4
Attempt to build a gemspec
Hi all, I''m trying to build a gemspec for win32-ipc, using a precompiled binary. Here''s my gemspec file: #win32-ipc.gemspec require "rubygems" spec = Gem::Specification.new do |s| s.name = "win32-ipc" s.version = "0.3.1" s.platform = Gem::Platform::WIN32 s.summary = "A base class for Win32 synchronization objects."
2010 Feb 15
0
Using local system-wide gems when using gem bundler
Gem bundle is a great tool, but I''m breaking my head here to try to solve what seems to be a simple issue. Right now, we follow a very minimalist philosophy - if it is not needed, then don''t install it. For example, I use mongrel locally for development, while my co-worker uses unicorn. In theory, gem bundle would include only the gems necessary for production, and any local
2009 Feb 23
0
.specification or .gemspec?
Hi, I am currently working on Heroku (herokugarden.com) and pushing to the Heroku Git repo from my local computer. I am also installing gems on local. When I install gems locally, they generate .gemspec files in a specification/ folder. However, when I push through to Heroku, it tells me that I''m missing a .specification file for that gem and that I should run ''rake
2011 Dec 03
2
script/server error (undefined method `name' for "ZenTest")
Hi All, I have an rails 2.3.11 app which I''m trying to run locally. When runnign script/server i get this error which i googled but couldn''t find the answer anywhere: Gem::SourceIndex#initialize called from /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb:100. Invalid gemspec in
2012 Feb 03
0
redcar conflict netbeans
Hi I had a IDE netbeans now I have installed red car but after installing redcar my NETBEANS not working so I want to remove redcar from my local machine(ubuntu 10.10) when I put this in console: > sudo gem uninstall redcar I got WARNING: Invalid .gemspec format in ''/usr/lib/ruby/gems/1.8/specifications/redcar-0.13.gemspec'' ERROR: While executing gem ...
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2010 Aug 08
0
Bad gemspec for rspec-core
I receive this message when bundling using this example project: http://github.com/francois/rental_agency/tree/1ea252624e161ddc305a719d505a633d8d464e49 The included Gemfile references HEAD of rspec-core, and the gemspec there has this issue: Using rspec-core (2.0.0.beta.19) from git://github.com/rspec/rspec-core.git (at master) rspec-core at /Users/francois/.rvm/gems/ruby-1.9.2-rc2/bundler/gems/
2012 Apr 30
0
data file path in a gem
I am trying to access a data list from inside a gem code, how should I set the file path .. here is my gem file structure : >> my_extension --- my_extension.gemspec --- Gemfile --- Gemfile.lock >> lib >> my_extension --- code_a.rb --- code_b.rb --- code_c.rb ---
2005 Jul 20
6
Wxruby2 gemspec
Hi A gemspec for installation of wxuby-swig via rubygems. It assumes the end-users will compile the pre-swigged .cpp files & that that the main require file will be wx.rb (as per Kevin''s suggestion). runrake.rb is just a helper script that runs rake correctly within the rubygems installation process. # to build the gem gem build wxruby2.gemspec # to build & install the
2010 Apr 26
2
/lib/rack/request.rb in my gem - is this reserved?
Hi! I write a gem at the moment. The Gem need to register during the process in the rack middleware. So I make an folder "rack" inside my "lib" folder. I called the file "request.rb" because it keeps track of requests. So we speaking about the file /lib/rack/request.rb But even if I place an empty file on this, I get the following:
2013 Jan 29
0
mysql installation in Windows 7
I have Windows 7. I am trying to get the gem installed for MySQL Server 5.5 So, I get the zip file for gem from Brian Mario’s repository on github mysql2, extract it in the new mysql2-0.3.12b5 folder and start the procedure as follows. As seen below, I get the error “file ''lib'' not found” at the end. I tried many times, got the same problem. Anyone has a solution to this?
2010 Feb 04
3
Rails Edge: gem bundle error
Hi. Having installed Ruby 1.9 from source, I decided to have a look at Rails3 aka Rails edge from git. Therefore, I followed wycats instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app- running-on-edge), but keep getting an error related to Bundler: $ sudo gem bundle --backtrace ERROR: While executing gem ... (NoMethodError) undefined method `path'' for
2012 Sep 26
2
Bundle Install ERROR: ERROR: Failed to build gem native extension.
Hello, I''m trying to setup postgreSQL onto rails on linux and when I type bundle install this is the error that i get. I guess its not finding the files Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/taka/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for bzlib.h... no checking for BZ2_bzWriteOpen() in -lbz2... no ***
2011 Jan 27
2
GeoIP gem working locally but not on server
I have the GeoIP gem working in my local environment (OSX), but when I move the code to our dev server (Ubuntu) via scp then it doesn''t work - it looks like the file is being treated like a text file instead of binary: >> g = GeoIP.new("#{RAILS_ROOT}/lib/GeoIP.dat") NoMethodError: undefined method `bytes'' for "ved":String from
2011 Aug 22
6
Trouble with Ruby on Rails
Some background info: I am an OS X user, and my MAC system is OS X 10.6.8(snow leopard). @1st problem (regarding Ruby on Rails installation): I have installed ruby "1.9.2" with RVM. When I typed "ruby -v" command in terminal after installation, it says that the ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2"