Giter Site home page Giter Site logo

brightbox / deb-ruby2.1 Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 23.86 MB

Ruby 2.1 Ubuntu packaging

Home Page: https://www.brightbox.com/docs/ruby/ubuntu/

License: Other

Ruby 40.19% C 57.45% Perl 0.01% Python 0.01% Scheme 0.01% Perl 6 0.01% Makefile 0.19% HTML 0.53% Shell 0.01% Tcl 0.10% Assembly 0.01% C++ 0.14% CSS 0.03% JavaScript 0.03% Emacs Lisp 0.22% XSLT 0.03% Scilab 0.01% Yacc 0.99% Batchfile 0.03% GDB 0.04%
packaging

deb-ruby2.1's People

Contributors

akr avatar johnl avatar nagachika avatar nobu avatar sometimesfood avatar terceiro avatar unak avatar zeha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

phlipper qwiz

deb-ruby2.1's Issues

ruby2.1-dev seems to be missing "mkmf"

We're running Ubuntu 13.10 "Saucy" with the Brightbox ruby-ng PPA to install Ruby 2.1.1:

deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu saucy main

Installing Ruby works just fine:

user@server:/home/deploy# apt-get install ruby2.1 ruby2.1-dev libruby2.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby2.1 is already the newest version.
libruby2.1 is already the newest version.
ruby2.1-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
user@server:/home/deploy# ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux-gnu]

However, installing gems with native extensions is broken due to mkmf not being present:

user@server:/home/deploy# gem install aws-sdk --no-ri --no-rdoc
Building native extensions.  This could take a while...
ERROR:  Error installing aws-sdk:
    ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from extconf.rb:4:in `<main>'


Gem files will remain installed in /var/lib/gems/1.9.1/gems/nokogiri-1.6.2.1 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/nokogiri-1.6.2.1/ext/nokogiri/gem_make.out

Are we doing something wrong here, or is something wrong with the packages the PPA provides?

Thanks!

Bundler broken after 2.1.0-1bbox1~precise2 to 2.1.1-1bbox2~precise1 upgrade

After upgrading from 2.1.0-1bbox1precise2 to 2.1.1-1bbox2precise1 on 12.04.04 amd64, the bundler gem is removed:

# bundle
/usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'bundler' (>= 0) among 8 total gem(s) (Gem::LoadError)
    from /usr/lib/ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem'
    from /usr/local/bin/bundle:22:in `<main>'

After upgrading bundler is missing from /usr/lib/ruby/gems/2.1.0/gems, so it seems to be removed by the upgrade. This shouldn’t be happening because 2.1.0 and 2.1.1 use the same api version.

I tried this on three different servers, so I think it's a general problem.

build locally

Hi, I'm trying to build this repository on my local machine (ubuntu 14.04) and failling.
The command I'm using is: debuild-pbuilder -i -us -uc -b

Would you mind to provide some minimal documentation as a wiki page here?
I'm sorry to have to ask this, but, you are the only one building ruby packages out there.

Ruby 2.1.7

Ruby 2.1.7 is missing here and from the upstream debian repo.

Could you still package it in the brighbox repo?

I've already build debs for debian wheezy and had no trouble updating the packages to 2.1.7.

Ruby 2.1.1-1bbox2~precise1 depends on ruby1.8

There seems to be something wrong with the dependencies of the ruby-2.1.1-1bbox2precise1 packages. It seems the dependencies have been changed from 2.1.0-1bbox1precise2 and it now tries to pull in ruby which pulls in ruby1.8.

So now 2.1 depends on ruby1.8:

apt-cache depends ruby2.1
ruby2.1
  Depends: libc6
  Depends: libruby2.1
  Depends: ruby
    ruby1.8
  Conflicts: ruby2.1:i386

Simulated install while on 2.1.0-1bbox1~precise2:

apt-get install -s ruby2.1 ruby2.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libgmp-dev libgmpxx4ldbl libjs-jquery libruby1.8 libruby2.1 ruby ruby1.8
Suggested packages:
  libgmp10-doc libmpfr-dev javascript-common ri ruby-dev ruby1.8-examples ri1.8
The following NEW packages will be installed:
  libgmp-dev libgmpxx4ldbl libjs-jquery libruby1.8 ruby ruby1.8
The following packages will be upgraded:
  libruby2.1 ruby2.1 ruby2.1-dev
3 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Inst libgmpxx4ldbl (2:5.0.2+dfsg-2ubuntu1 Ubuntu:12.04/precise [amd64])
Inst libgmp-dev (2:5.0.2+dfsg-2ubuntu1 Ubuntu:12.04/precise [amd64])
Inst libjs-jquery (1.7.1-1ubuntu1 Ubuntu:12.04/precise [all])
Inst libruby1.8 (1:1.8.7.375-1bbox1~precise1 Ruby NG Experimental:12.04/precise [amd64])
Inst ruby1.8 (1:1.8.7.375-1bbox1~precise1 Ruby NG Experimental:12.04/precise [amd64])
Inst ruby (4.8 Ubuntu:12.04/precise [all])
Inst ruby2.1 [2.1.0-1bbox1~precise2] (2.1.1-1bbox2~precise1 Ruby NG Experimental:12.04/precise [amd64])
Inst libruby2.1 [2.1.0-1bbox1~precise2] (2.1.1-1bbox2~precise1 Ruby NG Experimental:12.04/precise [amd64])
Inst ruby2.1-dev [2.1.0-1bbox1~precise2] (2.1.1-1bbox2~precise1 Ruby NG Experimental:12.04/precise [amd64])
Conf libgmpxx4ldbl (2:5.0.2+dfsg-2ubuntu1 Ubuntu:12.04/precise [amd64])
Conf libgmp-dev (2:5.0.2+dfsg-2ubuntu1 Ubuntu:12.04/precise [amd64])
Conf libjs-jquery (1.7.1-1ubuntu1 Ubuntu:12.04/precise [all])
Conf libruby1.8 (1:1.8.7.375-1bbox1~precise1 Ruby NG Experimental:12.04/precise [amd64])
Conf ruby1.8 (1:1.8.7.375-1bbox1~precise1 Ruby NG Experimental:12.04/precise [amd64])
Conf ruby (4.8 Ubuntu:12.04/precise [all])
Conf ruby2.1 (2.1.1-1bbox2~precise1 Ruby NG Experimental:12.04/precise [amd64])
Conf libruby2.1 (2.1.1-1bbox2~precise1 Ruby NG Experimental:12.04/precise [amd64])
Conf ruby2.1-dev (2.1.1-1bbox2~precise1 Ruby NG Experimental:12.04/precise [amd64])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.