Tag: gem

update php application using app fog

I have an account on App fog, I have depolyed the app on it using af update app-name but my php code creates some file on the server the server, Now I want to download the updated code from the server, I tried using af pull app-name and also af push app-name but both didn’t […]

jekyll server on but not regenerating

I am in powershell and I command jekyll serve –watch. It gives this output: PS C:\Users\kyle\Programming\GitHub\AwesomeIncU> jekyll serve –watch Configuration file: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_config.yml Source: C:/Users/kyle/Programming/GitHub/AwesomeIncU Destination: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_site Generating… done. Auto-regeneration: enabled When I just say jekyll serve it gives this: PS C:\Users\kyle\Programming\GitHub\AwesomeIncU> jekyll serve Configuration file: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_config.yml Source: C:/Users/kyle/Programming/GitHub/AwesomeIncU Destination: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_site Generating… done. Configuration file: C:/Users/kyle/Programming/GitHub/AwesomeIncU/_config.yml […]

mac bundle install for jekyll error occurs

when i perform bundle install on mac this occure Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/Cellar/ruby/2.1.2_2/bin/ruby -r ./siteconf20140725-85993-z0wc6r.rb extconf.rb Building nokogiri using packaged libraries. —– libiconv is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies. —– *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary […]

Bundler could not find compatible versions for gem “spree_core”

I’m trying to install spree_braintree gem to integrate braintree gateway with spree 3.0.1. When I run “bundle install”, I get this error “Bundler could not find compatible versions for gem “spree_core””. This is my Gemfile. source ‘https://rubygems.org’ # Bundle edge Rails instead: gem ‘rails’, github: ‘rails/rails’ gem ‘rails’, ‘4.2.1’ # Use sqlite3 as the database […]

How fetch a gem, that depends of a git source, in my rails app?

I have two gems (A and B) that depends of one another gem (gem X). The gem X is in my git repository. When i use the gem A or B in a rails app, the gem X is not being fetched. The Gemfile of A and B are like: source ‘https://rubygems.org’ # gem’s dependencies […]

Replaced a gem by its git repo, nothing works

I used the gem enumerated_attribute; however, the gem is not up to date and for last version I must use the git repo. So I changed my gemfile as follows: #gem ‘enumerated_attribute’ gem “edave-enumerated_attribute”, :git => “https://github.com/edave/enumerated_attribute.git” After that I ran bundle install which removed the gem and copied the repo. Now the rail apps […]

rails_admin.git installation problem or more general problem

i want to install this https://github.com/sferik/rails_admin so i pasting those 2 in the gemfile gem ‘devise’ # Devise must be required before RailsAdmin gem ‘rails_admin’, :git => ‘git://github.com/sferik/rails_admin.git’ however when i bundle install, the second one alone seems to give this problem: Fetching git://github.com/sferik/rails_admin.git sh: git: command not found An error has occurred in git […]

Continuous integration for a gem?

I am currently in the process of developing a rails engine. It is stored on a private git. I have a “test” application that uses the engine. In the gem file, I point to the git repository for the source of the gem. The logic behind this is I am the only developer on the […]

How to resolve error where gem from git repository “is not checked out. Please run `bundle install`”

I have been tearing my hair out for a week trying to get a project to run locally. bundle install works fine but when I run foreman start, I get this error: git://github.com/{repo_path}.git (at master) is not checked out. Please run `bundle install` I’ve trawled through Stackoverflow and still can’t get this to work. OS: […]

How to use gem from GitHub on Heroku?

I’ve forked the redis depository on github to https://github.com/lmirosevic/redis-rb I added it to my Gemfile: gem ‘redis’, :github => ‘lmirosevic/redis-rb’ And I require the gem inside my Sinatra app: require ‘redis’ However it fails with the following error: /app/vendor/ruby-2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require’: cannot load such file — redis (LoadError) Any suggestions on what could be wrong? It […]

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