Displaying 20 results from an estimated 40000 matches similar to: "rails new --builder"
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 Jan 29
1
Rails 3 App generator - could not find source path
Could not find "README" in source paths.
module Nifty
module Generators
class AppGenerator < Base
def self.source_root
@source_root ||= File.expand_path(File.join(File.dirname
(__FILE__), ''templates''))
end
def initialize(*args)
super
end
def create_root_files
# puts "Source path:
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
2010 Nov 27
9
rails server command
Hi. When I try and start my server using ''rails server'' I get the
following.....
Usage:
rails new APP_PATH [options]
Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
# Default:
C:/InstantRails-2.0-win/ruby/bin/r
xe
-d, [--database=DATABASE] # Preconfigure for selected database
(options
2012 Feb 20
0
Cannot start rails server: Please install the adapter: `gem install activerecord--adapter`
My app was working sublime ''till this morning when I noticed this strange
error when running rails server:
$ rails s
=> Booting WEBrick
=> Rails 3.2.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in
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
2010 Nov 11
2
Rails 3 - Nested Forms, using Builder -- Check_box issue
Hello, I have the following:
My Controller:
def new
.
.
@teammembers.each do |teammember|
request = @request_thread.requests.build(:recipient_id =>
teammember.user_id, :full_name => ''Billy Bob T'')
end
My View:
.
.
<%= f.fields_for :requests do |builder| %>
<div class="field">
<%= builder.label
2006 Aug 14
6
Testing fails with fixtures not when invoked directly
I have three files organization.rb, company.rb, and department.rb. I want
to ensure the department always has a company
require File.dirname(__FILE__) + ''/../test_helper''
class OrganizationTest < Test::Unit::TestCase
fixtures :organizations
def setup
@smo = organizations(:smo)
end
def test_department_company_defaults_to_parent
org = Department.new(:name =>
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
2008 Mar 19
3
svn externals and git submodules
This is a request to split up the repository into at least two repositories
rspec
rspec_core (loaded as svn_external or git submodule)
rspec_on_rails (loaded as svn_external or git submodule)
We could load the plugins the same way as before
ruby script/plugin install http://rspec.rubyforge.org/svn/trunk/rspec_core
ruby script/plugin install
2009 Feb 05
1
[rspec] [rails] Specing a form builder
I''m trying to set up and run a new form builder under rails, which lives
under the helpers directory, but isn''t really a helper. (Not a module, so
doesn''t mix in well)
Short of dropping down into a view spec, how do I set up to actually spec
the form builder?
describe RandomFormBuilder do
attr_reader :builder
before do
@object = mock_model(Foo)
@builder =
2013 Apr 12
1
[LLVMdev] Control Dependence Graph builder
Hi Arsen,
I wrote a pass that computes a control dependence graph as described in
Ferrante et al's "The Program Dependence Graph and Its Use in
Optimization." It is available at
https://github.com/thinkmoore/llvm-analysis.
Cheers,
Scott
On Fri, Apr 12, 2013 at 5:04 PM, John Criswell <criswell at illinois.edu>wrote:
> On 4/12/13 3:19 PM, Arsen wrote:
>
>> Thank
2010 Jun 23
3
Custom default form builder in Rails 3
Hello everyone,
I am trying to set a default custom form builder.
I have defined my form builder class in "lib/mymodule/mybuilder.rb"
as:
module Mymodule
class Mybuilder < ActionView::Helpers::FormBuilder
......
end
end
Then I am trying to use this custom class in application.rb as
config.action_view.default_form_builder = Mymodule::Mybuilder. But I
get "Uninitialized
2013 Apr 12
0
[LLVMdev] Control Dependence Graph builder
On 4/12/13 3:19 PM, Arsen wrote:
> Thank you John.
> Actually the opt tool (from LLVM 3.2 version) can generate the needed graphs
> (with pass "-domfrontier").
> But I just want to surely know is there some pass or builder which can be
> integrated somehow so it will be possible directly to generate CDG?
Yes and no. There's isn't a control dependence pass in LLVM
2008 Jan 05
3
Builder Plugin vs. Rails Plugin vs. ??? for one-click deploy
This morning I sat down to try to start writing a cruise plugin that
allows you to deploy (''cap deploy'' or something similar) a revision
that has built successfully by clicking a link or button on the
builds/show page. (I.e., something that satisfies
http://jira.public.thoughtworks.org/browse/CCRB-55.)
Since I want to be able to configure the command to run in each
2009 Jun 02
3
[LLVMdev] Is there a control dependence graph builder?
Hi,
In browsing through the LLVM source, I don't currently see an implementation
for a control dependence graph builder. Am I overlooking something?
It doesn't look like LLVM currently provides a way to build the
post-dominance frontier of the reverse CFG, either. Dominators.h mentions
forward dominators, but I believe all this is referring to is dominators as
opposed to post-dominators,
2012 Aug 31
0
Announce: Facter 1.6.12-rc1 available
Facter 1.6.12-rc1 is a maintenance release candidate in the 1.6.x
branch with bug fixes.
Downloads are available at:
* Source: https://downloads.puppetlabs.com/facter/facter-1.6.12-rc1.tar.gz
RPMs are available at https://yum.puppetlabs.com/el or /fedora
Rubygem available at http://rubygems.org/gems/facter or by using
the --pre option to gem install.
Debs are available at
2009 Jun 02
0
[LLVMdev] Is there a control dependence graph builder?
On Tue, Jun 2, 2009 at 2:38 PM, Mark Lacey<superoptimizer at gmail.com> wrote:
> In browsing through the LLVM source, I don't currently see an implementation
> for a control dependence graph builder. Am I overlooking something?
No, I don't think there is one. I think an implementation would be
welcome if you're willing to contribute one.
> It doesn't look like
2017 Sep 20
0
[PATCH v10 1/6] builder: add simple OCaml osinfo-db reader
From: Pino Toscano <ptoscano@redhat.com>
Add a simple OCaml-based implementation of reader of the osinfo-db:
the only interface is an iterator that invokes an user-supplied
function with each XML file found.
This implementation behaves like the current C implementation, and
still supports the old libosinfo db.
---
.gitignore | 1 +
builder/Makefile.am | 4 +++
builder/osinfo.ml