Skip to content

Commit

Permalink
+ rake-compiler to compile the C code
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Apr 19, 2013
1 parent a9d2e2b commit 2a9b43a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions server/Gemfile
Expand Up @@ -13,6 +13,7 @@ gem 'procrastinate'
group :test do
# Needed for testing itself.
#
gem 'rake-compiler'
gem 'rspec'
gem 'rspec-core'
gem 'simplecov', :require => false # Will install simplecov-html as a dependency
Expand Down
3 changes: 3 additions & 0 deletions server/Gemfile.lock
Expand Up @@ -36,6 +36,8 @@ GEM
rack_fast_escape (2009.06.24)
url_escape
rake (0.9.2.2)
rake-compiler (0.8.3)
rake
redis (3.0.2)
rest-client (1.6.7)
mime-types (>= 1.16)
Expand Down Expand Up @@ -81,6 +83,7 @@ DEPENDENCIES
rack-mount
rack_fast_escape
rake
rake-compiler
redis
rest-client
rspec
Expand Down
7 changes: 4 additions & 3 deletions server/picky.gemspec
Expand Up @@ -18,12 +18,13 @@ Gem::Specification.new do |s|
s.executables = ['picky']
s.default_executable = "picky"

s.files = Dir["aux/**/*.rb", "lib/**/*.rb", "lib/tasks/*.rake", "lib/performant.c"]
s.files = Dir["aux/**/*.rb", "lib/**/*.rb", "lib/tasks/*.rake", "ext/picky/picky.c"]
s.test_files = Dir["spec/**/*_spec.rb"]

s.extensions << 'lib/extconf.rb'
s.extensions << 'ext/picky/extconf.rb'

s.add_development_dependency 'rspec'
s.add_development_dependency 'rake-compiler'
s.add_development_dependency 'picky-client', "~> #{Picky::VERSION}"

s.add_runtime_dependency 'text' # TODO Make optional?
Expand All @@ -46,4 +47,4 @@ Gem::Specification.new do |s|
# s.add_runtime_dependency 'mysql'
# s.add_runtime_dependency 'sqlite3'
# s.add_runtime_dependency 'procrastinate', '~> 0.4'
end
end

0 comments on commit 2a9b43a

Please sign in to comment.