bundler

Sinatra + Bundler ?

I'm wondering how a one can use Bundler with Sinatra. The idea is to use the gems that Bundler downloads inside the .gems folder. ...

How to use bundler gem binaries in path

I just started using bundler for gem packaging in vendor/. The problem is with certain gems (like rspec and cucumber) that have binaries. The binary path that is under my_app/vendor/gems/ruby/1.8/...cucumber-0.6.2/bin/ is not in my path, therefore when I go to run cucumber i get command cannot be found. What is the easiest way to execu...

How to tell to TextMate ignore my Katz's Bundler folder in "Go to File"?

I use Katz's Bundler to manage gem dependencies. Who know, how to tell to TextMate ignore my "vendor/bundler_gems" folder in "Go to File"? Image demonstrate my little problem. You can see, what I want to find my application.sass, instead "Go to File" find lots of trash from bundler folder. ...

Rails 3 / Bundler gem: 'undefined method `setup' for Bundler:Module (NoMethodError)'

It can be traced back to config/boot.rb, line 7: require 'rubygems' require 'bundler' Bundler.setup This is with Bundler 0.8.1 supposedly installed: ../Users/ashley$ sudo gem install bundler Successfully installed bundler-0.8.1 1 gem installed Installing ri documentation for bundler-0.8.1... Installing RDoc documentation for bundler-...

Is it safe to ignore the "Has no specification file" warnings

I recently ported my gem management to bundler, to get my app to play nice with heroku. Upon doing so I started to see the following errors (though my app is running fine): config.gem: Unpacked gem environment.rb in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. config.gem: Unpacked gem environment.r...

How to use bundler (0.9.1.pre1) with Rails and CouchRest

I want to use the current version of bundler (there have been quite some changes from 0.8 to 0.9) to mange the gems of my Rails app. First I created a Gemfile in the root of the app folder and added all the needed gems to it. Then I placed (as recommended in the manual) the following code to my config/environment.rb: begin # Require t...

Rails3 server and bundler error: uninitialized constant Bundler (NameError)

I just install rails 3 and all gems that it need, but when I try to start server, it says about problem in boot script. [rap-kasta@acerAspire testR3]$ script/rails server /home/rap-kasta/tmp/testR3/config/boot.rb:7:in `rescue in <top (required)>': uninitialized constant Bundler (NameError) from /home/rap-kasta/tmp/testR3/con...

Issues upgrading bundler to 0.9.4 with Rails 2.3.5

Hi guys, Heroku made all its apps upgrade to the latest version of bundler (0.9.4). I followed all the instructions found on the README (including the upgrading instructions). But once I upgrade my application no longer runs. For example i get NoMethodError (undefined method `acts_as_taggable_on' for #<Class:0x1b7f614>): My Gemfi...

Cucumber and WebRat in Selenium mode: Can't start mongrel_rails when using gem bundle

I'm using gem bundler (v.0.9.6) and Rails 2.3.5, rubygems 1.3.6 and ruby 1.8.7 (On Snow Leopard). My Gemfile looks like this: source :rubyforge source "http://gems.github.com" gem "rails", "2.3.5" gem "ruby-debug" gem "activemerchant", :require => 'active_merchant' gem "hpricot" gem "nokogiri" gem "state_machine" gem "fastercsv" gem "y...

Rails: bundler does not install the package. (bundle install package)

I started using bundler (which is to my eyes a pure disaster). Now I want to add the Googlebase-gem to my app. So I entered "bundler install googlebase" in the root of my app. Bundler in fact installs several gems, but not Googlebase. What have I done wrong? ...

When -exactly- does the Rails3 application get initialized?

I've been fighting left and right with rails 3 and bundler. There are a few gems out there that don't work properly if the rails application hasn't been loaded yet. factory_girl and shoulda are both examples, even on the rails3 branch. Taking shoulda as an example, when trying to run rake test:units I get the following error: DEPRECATION...

Crontab + rails3 + bundler

I'm running a crontab that executes a rake task. I'm getting the following error (with MAILTO from crontab): rake aborted! no such file to load -- bundler /Users/Mendel/Sites/misnooit/Rakefile:4 (See full trace by running task with --trace) I'm using rvm with: ruby: ruby 1.9.1p378 rails: Rails 3.0.0.beta $GEM_HOME: /Users/Mendel/.rvm/...

Is bundler ready for prime time?

I'm considering using bundler for deploying a Spree app on Heroku. My question is, is bundler ready for prime time? I know there are some rough edges but I guess I'd like to know more about what the current limitations are and figure out if this is an option for us. Specifically, I'd like to do the git repository stuff git "git://git...

deploying rails3 apps with bundler and phusion passenger: .bundle dir not found

i am trying to deploy rails3 apps with the latest phusion passenger 2.2.11 and ruby-enterprise-1.8.7-2010.01. i am using bundler, but passenger seems to not be able to find the .bundle dir. error message: git://github.com/rails/rails.git (at master) is not checked out. Please run `bundle install` (Bundler::PathError) where do i insta...

strange bundler error: tar_input.rb:49:in `initialize': not in gzip format (Zlib::GzipFile::Error) on bundle pack

i am getting a strange bundler error when running bundle pack with bundler 0.9.12 any ideas? (see pastie for a better formatted code: http://pastie.org/881328 ) /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:49:in `initialize': not in gzip format (Zlib::GzipFile::Error) from /opt/ruby-ente...

Unable to use factory girl with Cucumber and rails 3 (bundler problem)

Hi there, I'm trying to run cucumber features with factory girl factories on a fresh Rails 3 application. Here is my Gemfile: source "http://gemcutter.org" gem "rails", "3.0.0.beta" gem "pg" gem "factory_girl", :git => "git://github.com/thoughtbot/factory_girl.git", :branch => "rails3" gem "rspec-rails", ">= 2.0.0.beta.4" gem "capybar...

Rails: simple bundler question with ruby-openid

Hi! I just installed the ruby-openid gem and then bundled it by entering gem 'ruby-openid', :require => 'openid' in the gemfile. Then I started bundle install and bundle lock. Everything worked fine so far. But how can I now access the classes of ruby-openid. OpenID::method won't work for me. It raises a not found error. What ha...

Problem loading activemerchant using Bundler

Hi - I am using Merb. I can't seem to get activemerchant to load using Bundler. All my other gems load fine. In my Gemfile I am using: gem 'activemerchant', :require => 'active_merchant' Here is the relevant error: uninitialized constant ActiveMerchant::Billing::AuthorizedNetGateway Anyone run into this or have any ideas? Thank...

Ruby on Rails issue..mainly dealing with ruby gems/bundler

I was trying to use rspec and for some reason it wasn't working. I think it lacked some dependencies or something. Everything else in Ruby 1.9 was working perfectly on my laptop though. So I did a ruby gems system update (sudo gem update --system). I then did a gem update (sudo gem update). When I tried to run or create apps in rails I g...

Ruby gem error: no such file to load -- bundler

I have some troubles with a Ruby gem named Bundler. My OS is Ubuntu 10.04. My environment is as follows: $ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.6 - RUBY VERSION: 1.9.1 (2010-01-10 patchlevel 378) [i486-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby1.9.1/gems/1.9.1 - RUBY EXECUTABLE: /usr/bin/ruby1.9.1 - EXEC...