search for: gemspec

Displaying 20 results from an estimated 74 matches for "gemspec".

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 date format in specification: "2011-09-12 00:...
2012 Jan 20
2
Build a ruby gem and conditionally specify dependencies
...ne 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 a gem is to use add_dependency method within a Gem::Specifiction block in a .gemspec file Gem::Specification.new do |s| # ... standard setup stuff # conditionally set dependencies s.add_dependency "rb-inotify", "~> 0.8.8" if RUBY_PLATFORM =~ /linux/ i s.add_dependency "rb-fsevent", "~> 0.4.3.1" if RUBY_PLATFORM =~ / darwin/i...
2005 Dec 16
7
offline copy of the api site ?
Hi, Is there a archive off http://api.rubyonrails.org/ so that I can view it without net access? Kind Regards, Herbert _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
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-09-18 00:00:00.000000000Z" Th...
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/ rspec-core-3eb4494 did not have a valid gemspec. This prevents bundler from installing bins or native extensions, but t...
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 = "...
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when I try and install mongrel with gem it blows up when the fastthread dependency tries to do a native compilation. I couldn''t find a copy of the gemspec in the svn checkout but looking at the one installed when gem installing mongrel didn''t show any platform differentiation. There is platform differentiation in the rake file. It looks like the gemspec is derived somehow from the rake task (the rake file is in the gemspec as comments)....
2011 Feb 02
0
Build gem from .gemspec to store locally
I am getting the error uninitialized constant for the vestal_versions gem when I build it from a gemspec file and install it. I need to store gems locally at a client site. I am using bundle package for most of my gems but the vestal_versions gem comes from a git repository and I can not included in the gems stored in vendor/ cache. I am new to building a gem from a gemspec file. What do I need to ch...
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 gems:refresh_specs''. Furthermore, even when I run this command, it tells me to . Are these 2 the same thin...
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 p...
2009 Jul 09
6
rdiscount Deadlock !
...e running: ruby 1.8.7.72 at /opt/ruby/bin/ruby rubygems 1.3.2 at /home/marya/.gem/ruby/1.8, /opt/ruby/lib/ruby/gems/1.8 -------------------------------------------- is there someway to bypass version check ? i tried to make symlink of rdiscount-1.3.4 to rdiscount-1.3.1.1 and upadted rdiscount.gemspec with ver 1.3.1.1 but still rake db:migrate gives error for rdiscount-1.3.1.1 -- Posted via http://www.ruby-forum.com/.
2010 May 06
5
Bundler for Rails 3 Engine
Hello All, My google-fu did not find this answer : How do I configure a Rails-3 Engine so that the engine''s Gemfile is integrated with the parent-Rails-app''s bundle? Thanks Peter Fitzgibbons (847) 859-9550 Email: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org IM GTalk: peter.fitzgibbons IM AOL: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org -- You
2009 Nov 01
19
will_paginate vs mislav-will_paginate
I''ve just reinstalled linux (9.10) and am trying to match my gem environment to our server''s. I''m having a problem with will_paginate. On the server, under gem list, i have "mislav-will_paginate (2.3.6)". So, i''m trying to install that locally. Following the instructions on the will_paginate page, http://wiki.github.com/mislav/will_paginate,
2008 Jun 03
9
Build rspec-rails as a gem?
I can''t figure out how to build rspec-rails as a gem when just cloned from github... there isn''t any .gemspec file or rake task that does this. Any help? -- Posted via http://www.ruby-forum.com/.
2011 May 28
2
How to use an ActiveRecord plugin in a non-Rails project
...he results. It also means more folders and files, so just generally more overhead. I''d like it to be as transparent as all the gems I use. Is there some way to get Bundler to deal with it, or is there a best practice for this situation? (I was thinking I could probably fork it, give it a gemspec, and then tell Bundler to look at my forked repo, does that sound reasonable?) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.or...
2008 Sep 27
6
Why no rspec-rails gem?
I was getting a little tired of adding 2 plugins every time I create a new rails project, so I just built an rspec-rails gemspec, and it works perfectly well. Does anybody know why there isn''t a public rspec-rails gem? Tim
2012 Sep 04
10
Generic asset definitions and management
...h others: https://github.com/kriszyp/cpm Maybe there is something else out there to package assets (at least javascript assets) generically, or perhaps someone from the Rails community could develop something that would allow Javascript library/framework developers to define a file similar to a gemspec, but that wouldn''t lock it into having to live in the vendor, etc. directory in their project. Then maybe the gem command could be able to process such a file somewhat similar to a gemspec and even lay the project out as part of packaging so that it would have a lib/libraryname/version...
2012 Jan 27
2
dealing with Encoding::UndefinedConversionError: "\xA2" from ASCII-8BIT to UTF-8
I''m 99% certain that this is what''s being discussed in https://github.com/tenderlove/mechanize/issues/168 But I''m not sure what the remedy is. My production app is running on Heroku, so I need a fix that I can push there. Can someone post instructions that this neophyte can follow? (I gather I''m supposed to fork and add the current master version from
2012 Jul 10
9
Hiera and environments
...uppet]# hiera -a sshpackages environment=development ["openssh", "openssh-clients"] * Puppet master, testing gem load* [root@puppet-dev puppet]# irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''hiera'' Invalid gemspec in [/usr/lib/ruby/gems/1.8/specifications/tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00.000000000Z" => true *Directory structure* [root@puppet-dev puppet]# tree /etc/puppet/environments/ -d -L 2 /etc/puppet/environments/ ├── development │ ├── hie...
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth Win32 binary gems install. When I try gem update RedCloth, it just installs 4.1.9. Did I do something wrong in the gemspec? Would someone else with a windows machine try it and let me know how it goes? Jason