Tag: bundler

rails3 + bundler + git problem

I have to install a gem(liquid) from git. But currently in the git hub page it has a alpha version and i need to install a previous stable version of it. How can i setup bundle for that.. (I’m on rails3) my bundle command is gem ‘liquid’,’2.2.2′ ,:git => ‘git://github.com/GnomesLab/liquid.git’ and I’m running bundle pack […]

When I run 'bundle update' and I have git references, where are those git repositories saved?

If a Gemfile has: gem ‘akephalos’, :git => “git@github.com:Nerian/akephalos.git” When I do: $ bundle update I noticed that it only downloads the last commits, has it takes a lot of less time that the first ‘bundle’. Where is the git repo saved?

can bundler install gems from a bare git repo?

So, reading http://git-scm.com/book/en/v1/Git-on-the-Server-Public-Access, I’m trying to setup a bare repo as instructed on a simple http server (no git-daemon, do I need one?). My gem has a gemname.gemspec in the root and all seems well. On using a Gemfile with: gem ‘gemname’, :git => ‘http://path’ Ok, then > bundle install … Installing blah… Using gemname […]

Deploy a Ruby gem local without using git or internet access

Is there a way to distribute a Ruby gem without access to the internet, just bundling the gem’s that are installed on the dev’s pc ? This is for deploying inside our organisation, access to internet is heavily restricted. All the pc’s run Windows7 with Ruby1.9.3 and Bundler 1.11.2 I have little experience with git […]

How to manage dependencies between my ruby projects?

This sounds like a basic question, but I can’t find any answer to it on the Internet. So I have a git ruby project database_models. It’s a gem. I want 3 other project to use it. I’ve added a dependency on this project to those 3 projects like this: gem “database_models”, :git => “path”, :branch […]

How can I unlock my gemfile so I can access the rails server?

I’m trying to recover from a branch-merge disaster in Git; I couldn’t merge my topic branch to the master because of a “merge conflict in gemfile.lock“. While looking for solutions to this I read in a blog post that using the “bundle lock” command would help (I didn’t know it was obsolete), and when I […]

Why won't my Git Bash access “bundle”?

I’m running through the Rails tutorial and I’d like to view a “test” through Git Bash since it looks like the test results are formatted more nicely. However, whenever I try to run “bundle exec …etc.” through Git Bash, I get an error of “bad interpreter: no such file or directory”. Now, I have checked […]

bundle install –without <group> with private git repository

I have a Gemfile which contains this group referencing a private repo that I don’t have access to: group :dpla_branding do gem ‘dpla_frontend_assets’, git: ‘git@github.com:dpla/frontend-assets.git’ end and when I try to do: gem install –without dpla_branding I get an error saying the Git repository is not accessible. How can I get Bundler to not even […]

Failed to push to Heroku. Don't understand what's wrong

Output: Counting objects: 96, done. Delta compression using up to 4 threads. Compressing objects: 100% (73/73), done. Writing objects: 100% (73/73), 7.87 KiB | 0 bytes/s, done. Total 73 (delta 56), reused 0 (delta 0) —–> Ruby/Rails app detected —–> Using Ruby version: ruby-1.9.3 —–> Installing dependencies using Bundler version 1.3.2 Fixing nokogiri install. Clearing […]

How to deploy to Heroku with a different Gemfile / BUNDLE_GEMFILE

I have an application that is tested on travis ci with 4 different themes which are configured using different Gemfiles via the BUNDLE_GEMFILE environment variable/ gemfile: option on travis. (https://github.com/learnery/learnery). I’ve also set up automatic deployment to heroku from travis ci. Now I want to deploy all 4 different configurations based on the different Gemfiles, […]

Git Baby is a git and github fan, let's start git clone.