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 trying to install the Sass Rails Source Maps on my ruby project but it's failing.
Im getting the next error when writing bundle update sass:
Bundler could not find compatible versions for gem "sass":
In Gemfile:
sass-rails (~> 4.0.3) ruby…
In Gemfile I had:
gem 'bootstrap-sass', '~> 3.0.3.0'
I have now changed it to the following, which is the latest version at the time of this writing:
gem 'bootstrap-sass', '~> 3.1.1.1'
Taking a look at both bootstrap-sass (3.0.3.0) and…
I want to install an old version of sass-rails gem. But i am getting this error and my css is not working on my project, check it:
In Gemfile
group :development, :test do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem…
I'm including a few local engines from within my Rails app into the app's Gemfile
# In the Gemfile...
# Bundles an internal engine from ./engines into the Gemfile and
# loads the engine's dependencies from the .gemspec file
def load_engine(gem_name,…
I'm doing one month rails. I keep running into some issues with syntax. I'm trying to run bundle install. I've tried with and without the production command with the same error.
Error/
Gemfile syntax error on line 13: syntax error, unexpected…
Most tutorials I see have ruby '2.0.0' stated in their Gemfile
When I type ruby -v I get the following:
ruby 2.0.0p195 (2013-05-14) [i386-mingw32]
Am I also okay with stating ruby 2.0.0 or do I have to specify ruby 2.0.0p195 ??
I've been making a series of simple apps and I've been installing the same gems in my gemfile for each app the last few weeks and for some reason this time I've had some trouble.
When I bundle my Gemfile, then try to start the rails server or rails…
Since now I would like to add something new to the rails app, so I have to re-modify the code and test locally on my computer. Do I need to modify the gemfile back?
The current gemfile is:
source 'https://rubygems.org'
gem 'rails', '3.2.12'
#…
How do you go about starting up a rails app (Be able to $prompt "rails s" in terminal and run on localhost:3000) from a github source when they don't include a Gemfile? Do I have to create my own? If so can we use a generic one? I was trying to…
I'm new to ruby, and I'm trying to specify a specific version number to rack. I want 1.4.5 installed and 1.5.2 removed, and I did
gem uninstall rack --version 1.5.2,
and specified the version number of rack to 1.4.5 in file Gemfile.lock.
But after…
This is my gemfile - I'm working on Michael Hartl's RoR tutorials. I keep getting "Gemfile syntax error:" when I try to bundle install or bundle update. Insight?
source 'https://rubygems.org'
ruby '2.0.0'
…
When I do $ bundle install, it attempts to get gems only meant for production, despite me being on development.
I double checked that I'm on development: echo $RAILS_ENV # outputs "development"
Here is a copy of my gem file. If I remove :staging…
I'm stumped with this one.
I've included the gem in my gemfile as
gem 'jquery-ui-rails', '4.2.0'
and even as
gem 'jquery-ui-rails'
which makes no difference, but still I'm not able to find any version of it. I tried several lower versions, but…
I added a section for development in my Gemfile
group :development do
gem 'thin'
end
and then ran bundle install on my local machine. This created a Gemfile.lock which contained thin. I checked in this file into the repo and pushed to Heroku.…