Displaying 20 results from an estimated 30000 matches similar to: "platforms in gemfile"
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
Running rspec on it brings about a large amount of these messages:
DEPRECATION WARNING: Passing a template handler in the template name is
deprecated. You can simply remove the handler name or pass render :handlers
=> [:haml] instead. (called from block (2 levels) in <top (required)> at
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
2012 Jul 07
1
gem 'therubyracer' installing error in Windows
Hello there,
I was trying to use Twitter Bootstrap in Rails. Actually, I was following atutorial<http://goo.gl/FKEiy> from
railscast. So, when I added gem twitter-bootstrap-rails in my gemfile and
rum bundle command. At first, It showed me that python isn''t install in my
pc, that''s why it can''t install libv8. After installing python, libv8 was
installed
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04)
$ dpkg -l |grep ruby
ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
$ bundle exec
/usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError)
from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec''
from
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer.
I put in my prompt:
bundle install, and this error appears:
C:\rails\organily>bundle install
Fetching gem metadata from https://rubygems.org/.........
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.6)
Using activesupport (3.2.3)
Using builder (3.0.0)
Using activemodel (3.2.3)
Using erubis (2.7.0)
Using journey
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
2012 Mar 20
0
Setting cache_classes to false results in blank pages
Have anyone else stumbled upon this weird behavior? Setting the
config.cache_classes = false for development env causes rails to
return responses with totally empty content, headers seem to work ok.
It does not matter what the controller returns, even a simple :text =>
"OK" will result in empty page.
I''m using rails 3.2.2 and ruby 1.9.3.
It probably has something to do with
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
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 01
0
Rails 3.1 form & routes.rb [newbie]
Hi all,
maybe is a newbie question anyway
1. I create de rails app with
# rails new {my app}
2. after I add some gem to my Gemfile
source ''http://rubygems.org''
gem ''rails'', ''3.1.1''
gem ''sqlite3''
gem ''simple_form''
gem ''execjs''
gem ''therubyracer''
# Gems used only
2012 Oct 10
1
Rubymine Install Missing Gems
Hello All,
I am using JRuby in Linux Ubuntu 10.10.
In Rubymine IDE, I am getting as "Install Missing Gems" link. After
clicking on that link, I am getting this error :-
Installing pg (0.14.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.
checking for pg_config... yes
Using config values from /usr/bin/pg_config
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
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment
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
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?
--
2011 Nov 17
0
Include a javascript runtime when generate the app
Hello, I''m opening this thread in order to discuss a frustration that
I have since Rails 3.1
I am teacher in private courses and university in Brazil and my main
language is Ruby (along with Rails for web classes). I have more than
a thousand students and I''m starting to know very well which part of
Rails and Ruby are hard to explain for beginners.
A lot of people said that
2016 Mar 21
0
Announcing release of Ruby on Rails 4.2 on CentOS Linux 6 x86_64 SCL
I am pleased to announce the immediate availability of Ruby on Rails
4.2 on CentOS Linux 6 x86_64, delivered via a Software Collection
(SCL) built by the CentOS SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps:
$ sudo yum install centos-release-scl
$ sudo yum install sclo-ror42
$ scl enable
2016 Mar 21
0
Announcing release of Ruby on Rails 4.2 on CentOS Linux 7 x86_64 SCL
I am pleased to announce the immediate availability of Ruby on Rails
4.2 on CentOS Linux 7 x86_64, delivered via a Software Collection
(SCL) built by the CentOS SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps:
$ sudo yum install centos-release-scl
$ sudo yum install sclo-ror42
$ scl enable