bundler

Error when running bundler install

I tried running bundle install in our production server, but I encounter this problem: Updating git://github.com/collectiveidea/delayed_job.git fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository An error has occurred in git. Cannot complete bundling. I have bundler version 0.9.25 install...

Bundle package everything

Hello all. I want pack not installed gems but also which fetched from repositories, for example: I want pack paperclip which declared in Gemfile: gem 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git', :branch => 'rails3' Thanks ...

Cucumber error under bundler

I've confirmed cucumber tests work fine without bundler, but with bundler it breaks. This is the error I get: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each (NoMethodError) /home/senthil/rails/othersprograms/nmicho-teambox/vendor/plugins/cucumbe...

Build a gem with native extension (Gem::Installer::ExtensionBuildError)

I have the following configuration: uname -a : Linux 2.6.24.2 i686 GNU/Linux (Ubuntu) ruby -v : ruby 1.9.0 (2007-12-25 revision 14709) [i486-linux] rails -v : Rails 3.0.0.beta3 gem -v : 1.3.5 rake --version : rake, version 0.8.7 make -v : GNU Make 3.81 gem env : RUBYGEMS VERSION: 1.3.5 RUBY VERSION: 1.9.0 (2007-12-25 patchlevel 0) [i4...

Rails deployment strategies with Bundler and JRuby

I have a jruby rails app and I've just started using bundler for gem dependency management. I'm interested in hearing peoples' opinions on deployment strategies. The docs say that bundle package will package your gems locally so you don't have to fetch them on the server (and I believe warbler does this by default), but I personally th...

When using Bundler and Rails 2.3.5 I get uninitialized constant SubdomainFu when migrating

Hi I'm using bundler with rails 2.3.5 and I'm trying to make sure everything is working correctly but when I do a "rake db:migrate --trace" I get this ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! uninitialized constant SubdomainFu /opt/local/lib/ruby/gems/1.8/gems/activesup...

Rails Beta3 & PaperClip & Passenger Bundler::PathError

So I'm going around in circles with this - I'm using a fork of the Paperclip Rails gem to get it to work with Rails3. Works fine on my OSX box with Passenger. But on my server (CentOS 5) I get this this error: git://github.com/lmumar/paperclip.git (at rails3) is not checked out. Please runbundle install(Bundler::PathError)Blockquote I...

'uninitialized constant ActionPack' when starting rails

When starting my rails server I'm getting an 'uninitialized constant ActionPack' error. raw stack trace I'm using blunder with rails 2.3.8 running 'bundle list' shows: * actionmailer (2.3.8) * actionpack (2.3.8) * activerecord (2.3.8) * activeresource (2.3.8) * activesupport (2.3.8) * acts-as-taggable-on (2.0.6) * auth...

Bundler http auth support

does anyone know if Bundler supports http auth? I'm pretty sure rubygems does (I think i read that somewhere) but I don't see anywhere in the docs where I might specify a username/pwd for a particular repo I'm trying to run my own private gem server so as not to expose sensitive code ...

Using Bundler along with preinstalled gems

So I've got thin installed the old fashioned way: gem install thin I put an app on the server and installed all of its required gems via bundler: bundle install But, when I tried to start the app with thin start, it can't find any of the bundler-installed gems since they're not installed in the default gems directory. My question...

Do I still need source :gemcutter in Gemfile?

I have a file "Gemfile" in my Rails project root. It says source :gemcutter in the very first line. Do I still need the line? If I'm correct, http://rubygems.org/ is the official source, and Gem Cutter was merged into rubygems.org. ...

How does bundler work (in general)?

Hello, I'm pretty new to Ruby/Rails but I was taking a look at bundler and was wondering how it works exactly. Do you install a full set of gems like normal gem install XYZand then use the Gemfile to pull a certain subset of those gems for use with a specific application? Or do you not install gems normally anymore and just include them ...

Initialize a Rails 3 plugin gem on installation

I'm creating a RubyGem, and I'm wondering if there's any way I can set it up so that when it's listed in a Gemfile and someone runs bundle install, my gem can copy some files into the Rails path. This would save the user from having to type rails generate blah, where blah is the name of a generator in my gem. Is there a callback that th...

Deploying Rails 2.3.x with bundler and capistrano

We are looking to shift to bundler for deploying internal applications. We currently use capistrano for deployment using git for SCM. After googling extensively, I have found about 20 different ways to incorporate bundler into a rails 2.3.x application - but much of that information is out of date. currently we freeze gems to the appl...

Should I put folder .bundle under version control

I just started using bundler with rails 2.3.8. After running bundler install there is folder .bundle at the root of my project. Should I put .bundle under version control? ...

Bundler Gemfile syntax highlight in Text Mate

Hello I'm learning Rails3 so I start to use gem Bundler (http://github.com/carlhuda/bundler) Does anybody know, how to setup TextMate to highlight Gemfile syntax? Thanks! ...

Why is bundler not installing gems stored in get repo properly?

Bundler version 1.0.0.beta.2 Rvm Info system: uname: "Linux dane-r1f-ubuntu 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux" shell: "bash" version: "4.1.5(1)-release" rvm: type: "rvm is a function" version: "rvm 0.1.31 by Wayne E. Seguin ([email protected]) [h...

Bundler not working: in `[]': undefined method `[]' for false:FalseClass

Hi, I'm having some troubles with my Rails app after installing (and removing) Compass. bundle install gives me the following: /Users/[..]/.rvm/gems/ruby-1.9.2-head@rails3beta/gems/bundler 1.0.0.beta.2/lib/bundler/settings.rb:10:in `[]': undefined method `[]' for false:FalseClass (NoMethodError) from /Users/[..]/.rvm/gems/ruby-1.9.2-he...

Requiring gem in Rails 3 Controller failing with "Constant Missing"

I've seen this asked a few times in other threads, but none of the answers seem to apply. Environment: Rails 3 amazon/ecs gem from jugend. The lone file is here: http://github.com/jugend/amazon-ecs/blob/master/lib/amazon/ecs.rb my gemfile has: gem 'amazon-ecs', :git => 'git://github.com/jugend/amazon-ecs.git' Everything works in ir...

Cucumber features failing "undefined method `Factory'" with bundler, rails 2.3.5

rake cucumber --trace output: /usr/bin/ruby1.8 -I "/home/vadim/.bundle/ruby/1.8/gems/cucumber-0.8.3/lib:lib" "/home/vadim/.bundle/ruby/1.8/gems/cucumber-0.8.3/bin/cucumber" --profile default Using the default profile... ... Given I signed up with "username/[email protected]/password" # features/step_definitions/clearance_steps.rb:13 ...