Displaying 20 results from an estimated 20000 matches similar to: "What is Rails fixing versions in Gemfile?"
2013 May 18
3
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3.
I''m careful to create separate gemsets for each project, so when I run
bundle install, it only installs gems for that gemset. This way gems
dont creep 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
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
2012 Feb 17
4
Gemfile location
When i am create new project "rails new 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?
--
2010 Sep 20
1
Should a Gem's dependencies be listed in the parent app's Gemfile?
I am working on a Gem that has several Gem dependencies of its own.
The Gem''s .gemspec looks good (I think) and when "bundle install" is
called from the parent app, it lists that it is indeed "Using" the
Gem''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
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
hi all,
I am having a hard time trying to find out what''s wrong with my setup. It
used to work smoothly until I decided out of the blue to do a selfupdate
and upgrade outdated on MacPort, then things started going south very
quickily.
Since MacPort kinda broke, I pull it all out and re-install the ports I
have before, which went pretty smoothly. Then to my surprise any command I
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 Feb 12
10
GemFile error + General Help?
Hello,
I''m a complete beginner in Ruby on Rails, so excuse me if this is a
ridiculous question. Just to bare in mind, I''m using Mac OSX (Snow
Leopard), Rails 3, and sqlite3 as a database. I''ve checked, and
everything is up to date (Rails, Ruby, Gems). I am simply creating a
test application, and I understand the way to run that is by running the
''rails
2013 May 20
6
MapServer setup with rails in ubuntu 12.04
Hi i have one rails application in which i need to setup the mapserver i
have added the gem https://github.com/sourcepole/ruby_mapscript
but while running the command
require "rubygems"
require "ruby_mapscript"
include Mapscript
it use to tell me
LoadError (cannot load such file -- mapscript):
can anybudy help me on this
Thanks in Advance
Arvind
--
You received
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: https://github.com/brianmario/mysql2/issues/109 ) whereas the
server mysql
2012 Nov 07
12
Develop using Rails in offline mode
I''m very new to Rails and I''m quite confused if I can practice Rails in
offline mode?
I''m following the Ruby on Rails Tutorail by Michael Hartl and I noticed
that after generating a new app through the command "rails new app_name",
"bundle install" is then called to download the gems specified in the
Gemfile.
What if I don''t have an
2011 Oct 12
1
`require': no such file to load -- rspec/rails (LoadError)
Getting strange loading problem..
>> bundle exec rspec -p spec/models/*
give error:
..
.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/
dependencies.rb:240:in `require'': no such file to load -- rspec/rails
(LoadError)
from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/
lib/active_support/dependencies.rb:240:in `block in require''
from
2013 Sep 08
6
not able to install rails getting an error "could not find javascript runtime"
Hello people
Iam a newbie in Rails.Iam facing problem while installing.
I installed rails installer
i created my project going to sites
Then rails -v (it worked)
I ran bundle install
I ran rails -s
and i got this error
I uncommented in gemfile #gem therubyracer
still error is not being resolved,have searched but could not resolve the
problem
--
You received this message because you are
2013 Jan 21
5
Cucumber issues when generating a new rails app.
Hi,
please i''m a newbie and enthusiast of RoR. i''m presently studying a
book(rails 3 in action). I tried setting a up a new rails app: I''ve
created my cucumber feature. but on running rake db:migrate, it gives a
blank output. From the book i''m to expect: (in /home/user/ticketee),
also on running rake cucumber:ok, i don''t get any result.
Pleas i need
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
m sorry its a totally newbie question, but m really stuck. please help
if possible.
after installing everything required to run ruby on rails when i write
the command ''rails s'' in the command prompt it doesn''t start the server.
rather it shows :
C:\Sites\railsinstaller_demo>rails s
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run
2011 Sep 02
4
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3.
Hi, guys,
I got the below error message when i typed this command in terminal "rackup
config.ru" , the file config.ru is rails ''s configuration file.
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3.
Consider using bundle exec. (Gem::LoadError)
So, how should i do , thanks a lot.
--
You received this message because you are subscribed to the
2012 Oct 17
2
autolog: easily debug-like logging on the fly in your Rails app
If it helps anyone developing Rails apps or gems, I wrote a shortcut for
set_trace_func, so next time you want to just add a line before and after
some function you are trying to debug you can have Ruby temporarily output
every line, method, etc. executed. Also, it lets you define the format, use
other loggers, etc. via a proc/lambda define, since you might not like the
default format.
2013 Apr 13
3
Cannot reach http://localhost:3000 after starting Ruby on Rails server
I cannot reach http://localhost:3000 after starting Ruby on Rails
server when running Windows 8. After running rails server in the
directory that I want the server to start, the following prompt shows
up:
C:\Users\Brian\railsapp>rails server
=> Booting WEBrick
=> Rails 3.2.13 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
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
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
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