floehopper + rubygems   54

The rails command and exec(2)
Why it's faster to use the `./script/rails` script instead of just `rails`.
rubyonrails  script  rails  exec  bundler  rubygems  performance  startup  time 
december 2011 by floehopper
Packaging from a gemspec is not the Best Way
Not convinced that plugging Hoe is the best approach here.
ruby  rubygems  hoe  package  gemspec 
december 2011 by floehopper
"Rubygems and Bundler integration, makes executable wrappers generated by rubygems aware of bundler".
rubygems  bundler  bundle  exec  ruby  wrapper  script 
november 2011 by floehopper
Prevent Bundler from downloading the internet
Avoid the "Fetching source index for http://rubygems.org/" stage of bundle install by using "bundle install --local".
bundler  ruby  install  local  rubygems 
october 2011 by floehopper
"Rack app for caching RubyGems files. Very useful in our build server that sometimes fails due to our network or rubygems.org timeout".
rubygems  ruby  proxy  server  gem 
september 2011 by floehopper
"Isolate is a very simple RubyGems sandbox. It provides a way to express and automatically install your project’s Gem dependencies." (Inferior) alternative to Bundler annoyingly used by the rdoc gem.
ruby  rdoc  gem  bundler  rubygems  isolation  sandbox 
august 2011 by floehopper
Gem Versioning and Bundler: Doing it Right
Run all gem binaries (except rails, but including rake) using "bundle exec". Use "bundle install --binstubs to create gem binaries in a local bin directory, so you don't need to use "bundle exec".
rubygems  bundler  ruby  gem  rake  binary  bundle  exec  versioning 
may 2011 by floehopper
"Check used GEM's for update".
ruby  rubygems  bundler  update  check 
may 2011 by floehopper
Fetching source index for http://rubygems.org/
Explains what's going on under the hood and why it's slow.
ruby  bundler  gem  rubygems  performance  install 
february 2011 by floehopper
RubyGems' Gem Activation is Changing
RubyGems 1.6 will lazily activate gems so a gem's load paths will not be added to $LOAD_PATH until its files are needed. This is supposed to avoid/reduce the "can't activate rack (~> 1.0.0, runtime), already activated rack-1.2.1" type of error.
ruby  gem  activation  rubygems  load  path  lazy 
february 2011 by floehopper
“Vendor Everything” Still Applies
I thought that the "Package Your Gems in vendor/cache" section makes a couple of good points.
ruby  rvm  bundler  gemset  vendor  package  instal  rubygems  gemfile  rvmrc 
february 2011 by floehopper
how to bundle bundler
Ensure everyone's using the same version of bundler.
bundler  rubygems  ruby 
december 2010 by floehopper
visionmedia's kiwi
"node.js package management system -- feature rich, fast, inspired by GIT / RubyGems / Gemcutter / Kiwi Fruits :D"
kiwi  node.js  package  management  rubygems  referrer:threedaymonk 
july 2010 by floehopper
Adam Sanderson's open_gem
Adds an "open" command to RubyGems to open a given gem in your editor of choice.
rubygems  gem  open  command  editor  referrer:tomafro 
may 2010 by floehopper
Bundler: The best way to manage Ruby applications
"Bundler manages an application's dependencies through its entire life across many machines systematically and repeatably".
bundler  ruby  gem  dependency  resolution  repeatable  rubyonrails  rubygems 
april 2010 by floehopper
Bundle me some sanity
Combines the use of rvmrc and bundler have a sand-boxed gem-set for each app.
ruby  rvm  bundler  gem  rubygems  set  sandbox 
april 2010 by floehopper
jnewland's sinatra-rubygems
"A complete reimplementation of the gem server command as a Sinatra application".
gem  server  sinatra  rubygems  rdoc 
march 2010 by floehopper
threedaymonk's fake-gem
"Make RubyGems think that a gem is already installed".
referrer:threedaymonk  rubygems  gem  ruby  fake 
february 2010 by floehopper
Ruby gems, and when we'll be shot of them
A clear explanation of the disadvantages of the RubyGems packaging system.
rubygems  ruby  debian  package 
november 2009 by floehopper
rdp's faster_rubygems
A helper to dramatically speedup the time it takes to run a 'require rubygems'.
referrer:hlame  rubygems  performance  load  require 
october 2009 by floehopper
the update | gemcutter - Transition
"Today, I’d like to announce that Ruby Central has agreed to support RubyGems.org in becoming the default gem host for the community. We’re still in the process of working out all of the details of this migration, and it will involve several moves".
rubygems  hosting  gem  ruby 
october 2009 by floehopper
Fixing Ruby Gems, MySQL and Passenger Phusion on Snow Leopard 10.6
One of the first things I noticed after upgrading to Snow Leopard is that my Passenger based sites stopped working. I use this heavily for Rails development, so I needed it fixed.
rubygems  mysql  passenger  snow  leopard  mac  osx  rubyonrails  fix 
september 2009 by floehopper
DebGem, Ruby packages for Debian
An Apt repository for Ruby programs and libraries which are currently available as gems.
ruby  debian  ubuntu  rubygems  linux  gem  apt  rubyonrails 
june 2009 by floehopper
Introducing dpkg-tools: Ubuntu and Debian package building for Rubygems and more
My approach to this problem has been to bake the Ruby layers into OS packages, so that I'm using one dependency declaration and resolution system. This allows you to do several really cool things, not least simplifying the number of commands you need to use to get your app deployed. This blog is running on Ubuntu, and to install the entire system from bare OS (caveat: it's a VM on a Xen host and my image creation script added my private Apt repository to Apt's configuration) required one command:

aptitude install reprocessed

Then I did a cap deploy, and hey presto, everything worked.
rubyonrails  ruby  management  dependency  rubygems  linux  deployment  ubuntu  capistrano  package  debian  dpkg 
may 2009 by floehopper
Protecting your ~/.gem directory
Change the permissions on your ~/.gem directory to prevent RubyGems installing stuff there when you didn't mean it to.
gem  install  home  rubygems  directory  user  permission 
march 2009 by floehopper
RubyGems User Guide - Using RUBYOPT
By setting the RUBYOPT environment variable to the value rubygems, you tell Ruby to load RubyGems every time it starts up. This is similar to the -rubygems options above, but you only have to specify this once (rather than each time you run a Ruby script).

Unix users will want to put the following line in their .profile (or equivalent):

export RUBYOPT=rubygems
ruby  environment  shell  rubygems  command  line  options 
february 2009 by floehopper
Rake Contrib for Ruby 1.9
While Ruby 1.9 now includes rake, but it does not include popular rake/contrib addons. This page shows how to build the contrib files into a gem.
ruby  1.9  rubygems  rake  contrib 
january 2009 by floehopper
Create virtual ruby/rubygems sandboxes. c.f. Python virtualenv.
ruby  install  environment  rubygems  python  sandbox  virtualenv 
january 2009 by floehopper
PragDave: Ruby 1.9—Right for You?
I hadn't realised it came with integrated RubyGems and rake. This makes testing under different versions of Ruby easier.
ruby  1.9  rubygems  rake 
november 2008 by floehopper
#15254 (rb-rubygems 1.1.1_0 fails on Staging phase) – MacPorts
Fixed a problem I had installing Rubygems on Leopard (my version of autoconf might have been left over from my Tiger environment).
rubygems  ruby  gem  port  leopard  osx  autoconf 
october 2008 by floehopper
A Rubygems packaging tool that provides Rake tasks for documentation, extension compiling, testing, and deployment.
rubygems  ruby  rake  gem  package  referrer:lazyatom 
august 2008 by floehopper

related tags

1.9  64bit  activation  apt  autoconf  binary  bundle  bundler  bypass  capistrano  check  chef  command  contrib  cryptography  debian  dependency  deployment  deprecation  directory  dpkg  editor  environment  error  exec  fail  fake  fix  fork  galaxy  gem  gemfile  gemrc  gemset  gemspec  github  guide  hitchhiker  hoe  home  hosting  https  hyperspace  instal  install  isolation  jruby  kickstart  kiwi  lazy  leopard  library  line  linking  linux  load  local  mac  macports  management  mocha  mongrel  mysql  node.js  open  openssl  options  osx  package  pass  passenger  path  performance  permission  port  proxy  puppet  python  rails  rake  rdoc  redhat  referrer:hlame  referrer:lazyatom  referrer:threedaymonk  referrer:tomafro  release  repeatable  repository  require  resolution  result  rip  ruby  rubygems  rubyonrails  rvm  rvmrc  sandbox  script  security  server  set  shell  sign  signature  sinatra  snow  source  ssl  startup  testing  time  tutorial  ubuntu  update  url/5aba2dbeddd9a51d7c4a59d6492938d0  user  vendor  version  versioning  virtualenv  vogon  warning  wrapper  wrong 

Copy this bookmark: