bundler

Restoring Rails 3's Bundle Install Path... It's now install in my root

Hi, I did something while trying to install the vestal_versions plug-in that ended up creating a vestal_versions directory in my app's root with the following: - Application - APP - DB - vestal_versions - ruby - 1.8 - bin - cache - doc - gems - specifications Which if deleted prevents the...

rails3 rspec issue

Hey Guys! I am trying out rails3. I am using railstutorial site to explore more about rails3; the tutorial is very good to begin with (I have minimal experience with rails2). I have an issue with rspec which is currently blocking my progress. I saw that the tutorial recommended using rspec2.0.0.beta.18 gem; I instead installed rspec2.0...

rake tasks are not discovered in rails 3

Hi, I have trouble getting started with rails 3.0.0, because it just doesn't load the rake tasks rake gems:install rake aborted! Don't know how to build task 'gems:install' rake -T rake about # List versions of all Rails frameworks and the environment rake db:create # Create the database from config/database.ym...

Rails 3 -- Bundler/Capistrano Errors

I have a basic Rails 3 app working locally on my development box, but want to test out deploying early on to make sure everything works. I'm using Capistrano to deploy. When I run cap deploy (after all the other necessary setup), it breaks on this command with this error: [...] * executing 'bundle:install' * executing "bundle install ...

Bundler can't find Ruby gem that appears on website

I installed Bundler on a pre-Rails 3 application and am trying to use it to install gems. My Gemfile contains the following lines: source :rubygems [...] gem "RubyInline", "3.8.1" However, when I run bundle install I get this error: Fetching source index for http://rubygems.org/ Could not find gem 'RubyInline', required by 'memcache-...

Calling cxfreezed exe of a python script as an independent process in windows

In windows i m trying to create new process and got stuck while spawning an independent process using win32process.CreateProcess I have freeze my python script using cxfreeze to make .exe. By using following command i tried to create a new process which would do some tasks. si = win32process.STARTUPINFO() details = win32process.Create...

When run on Phusion passenger, Bundler cannot find the Rails directory

So this is my problem. I used Capistrano to deploy my Rails 3 app to an Ubuntu server, which has Phusion Passenger 3 installed. Everything should have worked normal, but I kept getting this error message. Could not locate Gemfile in /var/www/rails/releases/20100916074325. (Bundler::GemfileNotFound) The directory in the error messa...

Ruby on Rails. Bundler. Cucumber. rake aborted! Command failed with status (1)

Hi. I have a problem using Bundler and Cucumber with Rails 3. When I run $ rake cucumber I get the following output: bundle exec /usr/local/bin/ruby -I "/usr/local/lib/ruby/gems/1.9.1/gems/cucumber- 0.8.5/lib:lib" "/usr/local/lib/ruby/gems/1.9.1/gems/cucumber-0.8.5/bin/cucumber" --profile default (in /home/<username>/practice/rails/...

How to use a gem in Rails 3 without referencing it in the Gemfile.

I'm wondering how to make a gem accessible in a Rails 3 app without putting a reference to it in the gemfile. I want to do this with ruby-debug (I'm using ruby-debug19). I use this to debug, but not everybody on my team does and forcing the dependency just so I can use it doesn't seem very diplomatic. Is there another way? If it ends up...

Errors Installing mysql2 gem via the Bundler

I am trying to install the mysql2 gem via the Bundler, but it keeps dying with the following error: ** executing command /home/cc_rails/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:483:in 'rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) /home/cc...

Rack Error with DreamHost, Passenger, and Rails 3.0.0.rc

Background: I have viewed this question as well as this one - sadly, to no avail. Error Message (Passenger): You have already activated rack 1.1.0, but your Gemfile requires rack 1.2.1. Consider using bundle exec. my Gemfile: source 'http://rubygems.org' gem 'rails', '3.0.0.rc' gem 'nifty-generators' gem 'nokogiri' group :after_ini...

Bundler: forcing it to load from two different directories

Because of IT requirements at my company any gems that require compilation have to be installed by IT engineers, and any pure ruby gems are installed into a subfolder of the project. To satisfy these needs, we seperated out our gems into various groups: source 'http://rubygems.org' gem 'rails', '3.0.0' gem 'activerecord-oracle_enhanced-...

Bundler and gems on github

So when you have bundler install a gem from github, it doesn't actually get installed, does it? gem list won't list those gems. Which brings me to my conundrum: I'm working on a script that wants to use one of these gems that don't actually get installed. Now what? I could check out the github repo manually and build/install the gem, b...

Conflict discovered in 'Gemfile'

When I run this command in deploy.rb (Capistrano): run "cd /sites/rails-data/#{application}/current/ && svn up Gemfile && bundle install --without=test" Capistrano get stuck with: Conflict discovered in 'Gemfile' How can I solve this issue is I do not what is the problem? ...

Installing a gem from Github with Bundler

I am trying to use the instructions here to install a pre-released version of a gem with bundler. The "bundle install" output lists the gem as getting installed, but "gem list" fails to find it. My Gemfile: source :gemcutter gem 'sinatra', '1.1.0', :git => 'http://github.com/sinatra/sinatra.git' gem 'RedCloth', '4.2.3' Here is a g...

Rails/Passenger: no such file to load -- bundler

I have an application running an old version of Rails (2.2.2) and Passenger that I got up and running using Ruby Enterprise Edition 1.8.7. However, I soon found there were some incompatibilities between older versions of Rails and Ruby 1.8.7, and decided to downgrade to REE 1.8.6. However, now the application fails to start with a LoadEr...

Bundler: Trace and check dependencies in bundled ruby gems

Bundler will automatically install any dependencies for the specified gems, it doesn't however output which dependencies map to which gems in the standard output. That information is useful when one of the dependencies fails the installation. Is there a way to set bundler to be more verbose and inform about the dependencies while instal...

How to use bundler behind a proxy?

I get the following output from the sudo bundle install command: Fetching source index for http://rubygems.org/ Could not reach rubygems repository http://rubygems.org/ Could not find gem 'rspec-rails (>= 2.0.0.beta.22, runtime)' in any of the gem sources. I have $http_proxy set correctly and I've added gem: --http-proxy=my proxy to ~/...

How to get mongrel working with bundler?

Transitioning to bundler with an existing production setup. Naively with a gemfile and setup like: gem "rails", "2.3.8" gem "mongrel", git: "http://github.com/dynamix/mongrel.git" bundle install --path /mnt/app/shared/bundle Starting with bundle exec mongrel_rails start --environment=production ... results in /mnt/app/shared/bun...

What's the easiest way to maintain a patched set of rails gems, with bundler?

We're transitioning from 'frozen' rails gems to using bundler and would like to maintain the rails gems with patches, merges etc. say from an external git source. What's the easiest way to set this up, adding gemspecs to the patch branches etc.? ...