Displaying 20 results from an estimated 289 matches for "gemfile".
2011 Dec 17
7
How does bundler know whether Gemfile has changed?
I am trying to understand how bundler works. Looking at the manual [1] it says
"If a Gemfile.lock does exist, and you have not updated your
Gemfile(5), bundler will fetch all remote sources, but use the
dependencies specified in the Gemfile.lock instead of resolving
dependencies."
The question is how does it know whether Gemfile has been updated? I
expected to find something in Gemfi...
2011 Feb 12
10
GemFile error + General Help?
...lication, and I understand the way to run that is by running the
''rails server'' command in Terminal. Unfortunately, that results in an
error message (in red) saying ''Could not find gem ''sqlite3 (>= 0,
runtime)'' in any of the gem sources listed in your Gemfile.''
Now I''ve checked if sqlite3 is listed in the GemFile, and it is. Here''s
what it says (this is just the first part of the GemFile, I didn''t want
to post the whole thing of course):
source ''http://rubygems.org''
gem ''rails'',...
2011 Feb 21
4
autotest with Growl not working
...39; message
I have the following gems installed for autotest (checked via $ gem
list):
autotest (4.3.2)
autotest-fsevent (0.2.4, 0.2.2)
autotest-growl (0.2.9, 0.2.4)
autotest-rails-pure (4.1.0)
However none of them appear when I use $ bundle show. I read that that
was because they are not in my Gemfile for my project, although I do
have the following in my .autotest file in my home directory:
require ''autotest/growl''
require ''autotest/fsevent''
So I added the lines under my ''group :test do'' in my Gemfile
gem ''autotest-fsevent'...
2012 Oct 18
3
Issues upgrading RSpec
My specs work fine with this in my Gemfile.lock:
grep rspec Gemfile.lock
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.0)
rspec-expectations (2.11.1)
rspec-mocks (2.11.1)
rspec-rails (2.11.0)
rspec (~> 2.11.0)...
2010 Sep 20
1
Should a Gem's dependencies be listed in the parent app's Gemfile?
...'s required Gems. I''ll refrain from an Inception analogy here ;)
When I fire up the app and make a request, I get "uninitialized
constant Authlogic" (this is one of the Gem''s dependencies). If I add
"gem ''authlogic''" to the app''s Gemfile all is good.
I was under the impression that a Gem''s dependencies did not need to
be added to the parent app''s Gemfile. Am I wrong here? Do I need to
configure something differently in my Gem so that the explicit Gemfile
calls are not needed?
Thanks, Elliott G
--
You received...
2013 May 18
3
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3.
...into the wrong projects. Now I just pulled a project from
github. I made sure I was in the correct gemset, and then I run bundle
install and it works fine. but then when I use rake to create the
database "rake db:create". I get this error:
You have already activated rake 10.0.4, but your Gemfile requires rake
10.0.3.
What does it mean "you already activated rake 10.0.4"? All that should
be installed for this gemset is whatever is in Gemfile.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from t...
2011 Dec 13
1
Trouble setting up Rails with a JS runtime environment
Hi all,
I''m using Ubuntu 11.10 and the terminal to install and run Rails. Here
is the process I''ve taken so far to setup Rails:
> download and install Ruby 1.9.2 and Rails 3.1.0
-- I did this using ''sudo apt-get ruby1.9.1'' and ''sudo gem install
rails''
> I made a new rails app using ''rails new path/to/app''
> I went
2012 Feb 17
4
Gemfile location
...ew newProject", ruby create rails
files and next automaticly launch bundle install and setup standart
gems:
C:\Sites>rails new demo
create README.rdoc
.
.
.
create vendor/plugins/.git
run bundle install
.
.
.
Where is standart gemfile location? Or how change standart set of gems?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@publ...
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like
rails new blog
and the content of the file "blog/config/boot.rb" are
require ''rubygems''
# Set up gems listed in the Gemfile.
gemfile = File.expand_path(''../../Gemfile'', __FILE__)
begin
ENV[''BUNDLE_GEMFILE''] = gemfile
require ''bundler''
Bundler.setup
rescue Bundler::GemNotFound => e
STDERR.puts e.message
STDERR.puts "Try running `bundle install`."...
2013 Feb 16
1
What is Rails fixing versions in Gemfile?
Hello,
I''d like to ask why is Rails fixing it''s version, like gem ''rails'',
''3.2.12'' ?
Given the recent attacks on Rails - wouldn''t it be more secure to not fix
the version?
Maybe have something like ''~>3.2.12'' ?
--
You received this message because you are subscribed to the Google Groups "Ruby on
2011 Aug 23
2
Where is WillPaginate::Finders ???
...only come up with it after moving to production :-D )
I successfully implemented and tested the new code in development mode,
but when I tried to migrate the db, I started getting errors I have
never seen before:
First, using rake db:migrate it complained that I was using version
0.9.2 and the gemfile says 0.8.7 (NOT! The gemfile says nothing about
rake or its versions). I don''t remember doing anything that should have
updated rake.
It recommended performing a /bundle upgrade/ to get rake 0.9.2 -- I did
it, no problem making the upgrade itself.
Unfortunately, after the upgrade, b...
2010 Dec 05
14
Remove bundler
Can you remove bundler without any problem – for rails?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2011 Apr 21
1
GEMFile gem 'mysql2' and mysql version is 4.1.2
Hi all
I have a Gemfile with this value
gem ''mysql2''
but when I run this command ''$ bundle install'' on my host they said
that
"The command "bundle install --local" seems to be returning mysql2
dependency error now. Unfortunately mysql2 gem requires mysql 5.1+ (
refer...
2010 May 06
5
Bundler for Rails 3 Engine
Hello All,
My google-fu did not find this answer :
How do I configure a Rails-3 Engine so that the engine''s Gemfile is
integrated with the parent-Rails-app''s bundle?
Thanks
Peter Fitzgibbons
(847) 859-9550
Email: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--
You received this message because y...
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there,
I''m solving the problem about the plugin Magick. In my app in Gemfile
I''ve follwoing:
require ''rubygems''
require ''mongo''
require ''RMagick''
include Magick
and in a model Files:
class Files
def self.save(upload)
...
img = Magick::Image.read(''public/data/nature6.jpg'').first...
2013 Oct 24
6
undefined method `paginate' for #<Class:0x567eb98> in Rails Tutorial
Hi,
I''m getting a undefined method `paginate'' for #<Class:0x567eb98> even
though I have gem ''will_paginate'' installed.
Inside the users_controller I have @users = User.paginate(page: params[:page
])
so I believe I set everything up to be correct.
Can you figure out why the method''s undefined, despite installing the gem?
--
You received this
2011 Dec 10
0
platforms in gemfile
...by
I used it and it isn''t behaving the way the docs said it should. People on
SO are giving me workarounds but I''m trying to figure out if the docs are
wrong or I''m reading them wrong.
More details:
http://stackoverflow.com/questions/8421321/does-using-platforms-in-your-gemfile-work
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubscri...
2011 Jul 22
2
ActiveSupport not including i18n?
...not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require ''activesupport''
2) try it out
bundle exec irb
require ''active_support/core_ext''
You don''t have i18n installed in your application. Please add it to your
Gemfile and run bundle install
LoadError: no such file to load -- i18n
from /Users/M...
2011 Jul 22
2
ActiveSupport not including i18n?
...not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require ''activesupport''
2) try it out
bundle exec irb
require ''active_support/core_ext''
You don''t have i18n installed in your application. Please add it to your
Gemfile and run bundle install
LoadError: no such file to load -- i18n
from /Users/M...
2010 Oct 02
3
MySQL setup question
.../mysql.sock
Now when i test rake db:migrate i get the folowing error:
daniels-macbook:blog daniel$ rails generate scaffold post name:string
message:text
// files created ....
daniels-macbook:blog daniel$ rake db:migrate
(in /sites/blog)
rake aborted!
!!! Missing the mysql gem. Add it to your Gemfile: gem ''mysql'',
''2.8.1''
(See full trace by running task with --trace)
---------
The mysql 2.8.1 is already in my gem list and i have the gem installed
with the command: sudo gem install mysql -- --with-mysql-config=/usr/
local/mysql/bin/mysql_config
Does anyone...