brightbox / deb-ruby2.1 Goto Github PK
View Code? Open in Web Editor NEWRuby 2.1 Ubuntu packaging
Home Page: https://www.brightbox.com/docs/ruby/ubuntu/
License: Other
Ruby 2.1 Ubuntu packaging
Home Page: https://www.brightbox.com/docs/ruby/ubuntu/
License: Other
John, your blog post from January 9th states, that Lucid Lynx packages for ruby 2.1 will be available soon. Is it possible to built these packages?
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.
New CVE means new ruby!
https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/
Thanks for the package work, btw.
I'm not sure what the official process is for requesting version updates, so forgive me if this isn't the correct place.
Ruby 2.1.4 was just announced on the Ruby security mailing list. Adding a ticket to track updating the brightbox package.
I'm missing the ruby-switch package in Trusty Tahr repository for easy switching between ruby envs. Does anyone know when it will be available?
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.
Is the Brightbox ruby distribution linked statically against OpenSSL?
https://www.ruby-lang.org/en/news/2014/04/10/severe-openssl-vulnerability/
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.
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])
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!
This is a carryover from the mailing list.
In short, after adding the ruby-ng-experimental
apt repository and installing the ruby2.1
package, update-alternatives --query ruby
does not show /usr/bin/ruby2.1
as an alternative ruby binary. Note that installing ruby2.0
from this repo correctly installs the ruby2.0
binary as a ruby alternative.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.