Rails Bundle Install failing on bootstrap-sass
There is no branch 3
in https://github.com/thomas-mcdonald/bootstrap-sass/ anymore. That's why Git is complaining. So you need to change it from:
gem 'bootstrap-sass', :github => 'git://github.com/thomas-mcdonald/bootstrap-sass.git', :branch => '3'
to:
gem 'bootstrap-sass', :git => 'git://github.com/thomas-mcdonald/bootstrap-sass.git'
or use a shorthand syntax:
gem 'bootstrap-sass', :github => 'thomas-mcdonald/bootstrap-sass'
uploading to heroku causes an error
The problem is with:
gem 'bootstrap-sass', github: 'thomas-mcdonald/bootstrap-sass', branch: '3'
If you check the link below:
https://github.com/thomas-mcdonald/bootstrap-sass/branches
The branch seems to be deleted, maybe it was merged into the master branch, based on feedback from the OP, anyone using it subsequently should add the below to their Gemfile:
gem 'sass-rails', '>= 3.2' # sass-rails needs to be higher than 3.2
gem 'bootstrap-sass', '~> 3.0.3.0'
Bundle install fails with: Bundler could not find compatible versions for gem railties:
Try removing Gemfile.lock
and doing bundle
again.
Try adding to Gemfile:
gem 'coffee-rails', git: 'git://github.com/rails/coffee-rails.git'
instead of:
gem 'coffe-rails'
Edit:
Ok, I have copied it locally and tried to resolve, my changes:
gem 'coffee-rails', git: 'git://github.com/rails/coffee-rails.git'
gem 'activeadmin', github: 'gregbell/active_admin', branch: 'rails4'
gem 'rails', git: 'https://github.com/rails/rails.git', branch: '4-0-stable'
gem 'devise'
gem 'ransack'
gem 'sass-rails', git: 'https://github.com/rails/sass-rails.git'
and now it checks out, at least here.
Capistrano error on bundling compass from git
It's because there is no rails3.1
branch on github. Try gem 'compass', '~> 0.12.alpha'
Heroku deployment with active_admin
Looks like the rails4 branch for active_admin was removed!
You can update your gemfile and specify a tag or commit reference. As of today v0.6.1 is the most up to date version, so you could do:
gem "activeadmin", github: "gregbell/active_admin", tag: "v0.6.1"
..and that would solve your problem. Alternatively, as you pointed out in your comment, choosing another specific revision would also get rid of the error.
gem "activeadmin", github: "gregbell/active_admin", ref: "82ff48d51525bdf55c96e50d8650d45f2a6716ed"
Related Topics
Why Is a String Key for a Hash Frozen
Using Negative Conditions Within Regular Expressions
How to Calculate Next, Previous Business Day in Rails
Ruby on Rails - Rack-Cors Multiple Origins with Different Resources
Working with a Large Data Object Between Ruby Processes
Undefined Method 'Devise' When Including User Model Outside Rails
Remove Element at Specific Index from Redis List
Carrierwave: Create 1 Uploader for Multiple Types of Files
Capturing Logger Output Inside a Method
Invoking Knife in a Ruby Class
How to Send Message to All Client Except Sender in Rails/Actioncable
What Do I Need to Do to Get Hash.From_Xml() to Work
Ruby on Rails: Two References with Different Name to the Same Model
What's the Best Way to Start a Background Process, That Can Get Accessed Later On
3.Days.Ago, 2.Hours.From_Now etc Without Rails