Questions tagged [rails-composer]

10 questions
4
votes
1 answer

How to use Rails Composer and postgreSQL on Cloud9 and deploy on Heroku

The process of using Rails Composer to create a rails app using postgreSQL on Cloud9 and deploying on Heroku is fraught with warnings and errors that can confound a new developer. Are there any instructions that can help me get through the process…
BenU
  • 2,287
  • 1
  • 22
  • 35
1
vote
1 answer

getting postgresql to work on cloud9

I'm trying to get PostgreSQL set up on cloud-based IDE Cloud9 but getting hung up getting getting the postgreSQL server, databases and roles started. Cloud9 docs have instructions called "Setting Up PostgreSQL" but following them produces the error…
BenU
  • 2,287
  • 1
  • 22
  • 35
1
vote
4 answers

How to get rid of uninitialized constant Omniauth (NameError)?

I have a fresh rails-composer omniauth application. When running tests with rspec it gives this error: $ rspec /home/grzegorz/programing/integra/spec/support/helpers.rb:5:in `block in ': uninitialized constant Omniauth…
user1167937
  • 441
  • 1
  • 8
  • 18
1
vote
0 answers

Rails_apps_composer. Generate an application from defaults. error :undefined method `add_builtin_type' for Psych:Module (NoMethodError)

I'm trying use Rails_app_composer “automatically”, from a defaults file that specifies parameters. I use to generate an application from defaults: $ rails_apps_composer new lamevapp --defaults=my_defaults.yaml my_defaults.yaml is recipes: -…
joan prim
  • 11
  • 2
1
vote
0 answers

Rails: notice: messages won't disappear Using rails_layout gem?

I'm not sure if this is a bug or what, but the notice messages are not disappearing and I have looked at a bunch of other examples, none of them explain my case: like these: Why flash message won't disappear? rails 4 -- flash notice Rails flash…
0bserver07
  • 3,390
  • 1
  • 28
  • 56
1
vote
1 answer

Railsapps template crashing

I am using the following config. RVM Ruby 1.9.3 Rails 3.2.18 And trying to create a new app using the command: rails new . -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb with the following choices: question Install an…
Qaiser Wali
  • 358
  • 5
  • 21
0
votes
2 answers

Thor empty_directory command raises 'permission denied' when cloning from repo in rails composer custom recipe

Today I'm fighting against this: mkdir': Permission denied @ dir_s_mkdir - /app/assets/stylesheets/material_ui (Errno::EACCES) I'm creating my own rails composer generator. What I want is clone from my repo some files and put them inside the app I'm…
0
votes
0 answers

Rails Composer not loading completed files

Im working through the RailsApps tutorials and looking to create starter applications via rails composer. When I launch the file in a browser I'm just getting the rails welcome page - none of the bespoke files are being created for the specific…
Mike.Whitehead
  • 798
  • 18
  • 52
0
votes
0 answers

Using Rails Composer, getting error "-bash: rails: command not found" using "learn-rails" gemset

I'm using Nitrous on Windows 7, and trying to use RailsComposer following "Build ‘Learn Rails’ in Less Than Five Minutes" of the Learn Ruby on Rails book. The book tells: Use the “learn-rails” gemset we created earlier: $ rvm use…
joan prim
  • 11
  • 2
0
votes
0 answers

Rails Composer generated app, adding dynamic pages, not yielding from application view

I'm playing with rails composer for a rapid base app. I set up a bootstrap-devise-pundit app with a home page (also tried Home,User,About option - pages are set up in ../views/pages as static). The home page being the "visitors" controller and…
hackerkatt
  • 165
  • 11