Gemfile - A format for describing gem dependencies for Ruby programs. A Gemfile describes the gem dependencies required to execute associated Ruby code.
Gemfiles are a format for describing what gems are required by a Ruby program in order to successfully run.
I'm on Ubuntu 10.04, the app that I have to push to Heroku has a Gemfile.lock, this app was developed by another programmer.
When I use bundle install command, this install the necessary gems for run the app with rails s.
Does bundle install take…
I want to customize my development environment with a few extra gems. I am using bundler with rails 3.0.x. I have those extra gems in my local system and i dont want to add them into my Gemfile. How can i by pass bundler and require these gems in my…
I'm trying to use Passenger to host my rails app, but as noted in this issue, logging is s little whacky in rails 3.2.1. Someone has released a commit (that has been pulled into the main branch) with a fix. How can I tell my app to use the main…
My slug size is 89.5MB which is huge.
However the repository size is quite small:
$ du -hsc
8.0M .
8.0M total
Following this blog post: http://dazedthots.blogspot.com/2011/07/reducing-slug-size-heroku.html , there is a bug on Heroku with…
I am trying to push a project to Heroku for the first time using git push heroku master. However, I end up getting the following error:
Your bundle only supports platforms ["arm64-darwin-21"] but your local platform
is x86_64-linux. Add the current…
I've gone through my app and am having trouble finding where exactly the Twitter Bootstrap source goes when I include it through a gem. If I wanted to view the Bootstrap .css for example, how do I find it?
The alternative, as I understand, to…
I’m using 4.2.7.1 and I want to upgrade to Rails 5.0.0.1. So I adjusted my Gemfile like so
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.0.1’
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for…
I encountered the same issue today with a suggestion:
Prepending bundle exec to your command may solve this.
Prepending bundle exec didn't help (I was doing that already).
spring stop & spring restart did not help.
I need to do : bundle update…
I am writing a Gemfile to help with the development of a few gems my team is creating.
I know that the Gemfile allows the use of the :path argument to reference local directories that contain a .gemspec file:
gem "my_gem", :path =>…
I am trying to install the new version of the twitter-bootstrap-rails gem (v2), but getting the error above. This is how my Gemfile looks:
source 'http://rubygems.org'
gem 'rails', '3.1.2'
# Bundle edge Rails instead:
# gem 'rails', :git =>…
In the rails project I'm working on I inserted support for rspec, cucumber and autotest with this Gemfile (partial)
gem 'rspec-rails'
gem 'cucumber-rails'
gem 'autotest-standalone'
gem 'autotest-rails-pure'
gem 'zentest-without-autotest'
however in…
I got a new machine and installed rbenv fresh (I always used rvm before). This gem now won't load in my app. I made no code changes. The only difference between now and then is rbenv.
Loading development environment (Rails 5.2.1)
irb(main):001:0>…
We have a Gemfile currently in our git repository. However, there's a gem I use only locally in my environment (my team doesn't use it). In order to use it, I have to add it to our Gemfile, but every time I check out to our master/dev main branch, I…
I'm trying to run the following for on my Kali box, see error.
root@kali:~# ruby /usr/share/metasploit-framework/tools/nasm_shell.rb
Could not find rake-10.4.2 in any of the sources
Run `bundle install` to install missing gems.
I then run bundle…