similar to: Build a ruby gem and conditionally specify dependencies

Displaying 20 results from an estimated 2000 matches similar to: "Build a ruby gem and conditionally specify dependencies"

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
2004 Mar 14
3
Re: RubyGems 0.2.0
Hello Chad, I installed and tried out rubygems for one of the win32-utils projects named win32-mmap. This is on Win XP (Home). Here is how I did it but got some errors (see at the end). I must be doing something wrong. Please help ... -- Shashank #------------------------------------------------------------ require ''rubygems'' spec = Gem::Specification.new do |s|
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
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 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
2011 Jun 16
7
[PATCH] replace fchmod()-based heartbeat with raindrops
This means we no longer waste an extra file descriptor per worker process in the master. Now there''s no need to set a higher file descriptor limit for systems running >= 1024 workers. --- I just pushed this out to git://bogomips.org/unicorn.git and it''ll be in Unicorn 4.x. The subset of raindrops used by Unicorn should work on all machines with mmap(2) +
2007 Jul 08
2
[ win32utils-Support Requests-12080 ] How would one add these packages as a dependency to a cross-platform gem?
Support Requests item #12080, was opened at 2007-07-07 19:02 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=412&aid=12080&group_id=85 Category: Install Problem (example) Group: None Status: Open Resolution: None Priority: 3 Submitted By: Luke Bayes (lukebayes) Assigned to: Nobody (None) Summary: How would one add these packages as a dependency to a
2011 Feb 21
4
autotest with Growl not working
Hi I''m new and using Ruby on Rails 3 but when I run $ autotest nothing happens (I have growl installed). If I run $ rspec spec then I get the ''Finished in 0.07253 seconds seconds 2 example, 0 failures'' message I have the following gems installed for autotest (checked via $ gem list): autotest (4.3.2) autotest-fsevent (0.2.4, 0.2.2) autotest-growl (0.2.9, 0.2.4)
2004 Dec 12
3
Re: Problem building wxRuby: htmlproc.h not found
I''ve heard of this before. Try running this line and send me the output ruby -e "p RUBY_PLATFORM" Nick Andreas Schwarz wrote: > I''m trying to build wxRuby 6.0 on Linux (Ubuntu). When I run make I get > an error because htmlproc.h is not found (it does not exist in the Linux > version of wxWidgets). I see that the html* object files are removed > from
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
2012 Sep 04
10
Generic asset definitions and management
(The following is not a Rails-specific question, but relates to a problem that affects Rails, so I wonder whether anyone on the team has an opinion about it or knows whether a solution is already in development.) While gem dependencies can be easily managed in a Gemfile by Bundler, when it comes to other assets, you either have to manually copy javascript files into the app/assets or vendor
2008 Aug 24
5
uninitialized constant "Console"
I just upgraded webgen, and it broke. Here''s what I get when I run webgen: chadmac:thewoolleyweb.com woolley$ webgen --version An error has occurred: uninitialized constant Console chadmac:thewoolleyweb.com woolley$ gem list webgen *** LOCAL GEMS *** webgen (0.5.2, 0.4.7)
2013 Oct 28
1
Using puppetlabs_spec_helper on Windows 7
I''m trying to make puppetlabs_spec_helper runs on Windows 7 to test my Puppet modules. Is this supported ? Because I encountered some problems: 1. symlinks were not created on Windows 7 (even if the functionnality are availabe). To manage that I added to rake_tasks.rb an ugly function: def make_link(source,target) ruby_platform =
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
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 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
2011 Sep 01
7
couldn't find file 'jquery' rails 3.1 stable mountable engine
When I create a new engine in Rails 3.1 stable and then access the dummy app or the engine I get an error say that the app can''t find jquery. I''ve created the engine using rails plugin new coffee --mountable I''ve also created a basic controller in the engine and the dummy app. If I remove the javascript include tag, everything works. But with the tag there it just
2009 Jul 09
6
rdiscount Deadlock !
rdiscount-1.3.1.1 is uninstallable on solaris --------------------------------------------------------- root@dcb0:/opt/gitorious# gem install rdiscount -v 1.3.1.1 Building native extensions. This could take a while... ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension. /opt/ruby/bin/ruby extconf.rb checking for random()... yes checking for srandom()... yes
2011 May 28
2
How to use an ActiveRecord plugin in a non-Rails project
I''m using ActiveRecord on a Sinatra app. I need one of my tables to be sorted, so I''m using acts_as_list (https://github.com/swanandp/acts_as_list). However, it isn''t a gem, so I don''t know how to get it to work with Bundler. Currently, I just cloned the source into a dir named "vendor". This works, but when I search my code, it keeps including