Questions tagged [railsapps]

Questions and answers about applications from the RailsApps open source project.

Questions and answers about applications from the RailsApps open source project.

The RailsApps project provides example applications that developers use as starter apps.

The project also develops tools to create starter apps, including the Rails Composer application template and the rails_layout gem.

78 questions
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
1
vote
1 answer

Gibbon::GibbonError at /visitors You must set an api_key prior to making a call

Running OSX Mavericks, ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0], rvm 1.25.23 (master), and rails-4.1.0 (allegedly) I'm working through the railsapps.org book on learning rails I have finished implementing the mailchimp email…
trick420
  • 237
  • 3
  • 9
1
vote
1 answer

Invalid URI Error when using Mailchimp in Rails

Running OSX Mavericks, ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0], rvm 1.25.23 (master), and rails-4.1.0 (allegedly) I'm working through the railsapps.org book on learning rails I have finished implementing the mailchimp email…
trick420
  • 237
  • 3
  • 9
1
vote
3 answers

Rails - Closed terminal and rebooted machine - now bash tells me rails isn't installed

Running OSX Mavericks, ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0], rvm 1.25.23 (master), and rails-4.1.0 (allegedly) I'm working through the railsapps.org book on learning rails and made it about 1/2 way through yesterday. When I…
trick420
  • 237
  • 3
  • 9
1
vote
2 answers

I need to start over with a fresh, ground zero, install of Rails. How do I do that?

Running Mac OS X Mavericks, I have completely jacked up my Rails installation to the point that I am unable to sort out what all is wrong. I'm working through the railsapps.org book on learning rails and am simply trying to set up the test…
trick420
  • 237
  • 3
  • 9
1
vote
2 answers

Bootstrap Devise Cancan Rails - Rspec Failure

I just installed Rails3 Bootstrap Device Cancan in my local machine and ran rake spec but I'm getting all test failures with below error in common: undefined local variable or method 'postgresql_version' for…
Passionate Engineer
  • 10,034
  • 26
  • 96
  • 168
0
votes
1 answer

Ruby on Rails - Composer

i am new to the world of programming and i started programming with ruby ​​on rails on ubuntu 20.4 through virtual machine. I'm trying to make an application with composer. only every time I type: rails new myapplication -m…
HFarias_
  • 1
  • 1
0
votes
1 answer

rails app downloading documents instead of displaying

I am creating a document upload form for my rails app, everything works fine, except when I try and display the .txt document that has just been uploaded, the document is downloaded instead? These are the two lines of code running on my…
Bertran
  • 1
  • 1
0
votes
1 answer

Does railsapps (rails-devise-pundit) apps have multiple role support baked in?

In a stock "rails-devise-pundit" application generated using "railsapps", does it include support for adding multiple roles for users? A can I make John Doe have a :user role plus an :admin role
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80
0
votes
1 answer

How to update the documentation of railsapps gh-pages?

Regarding "railsapps" The documentation page at http://railsapps.github.io/rails-application-templates.html mentions a link to "https://github.com/quickleft/prologue" which is a dead end. How can I send a pull request to update the documentation so…
american-ninja-warrior
  • 7,397
  • 11
  • 46
  • 80
0
votes
1 answer

Why are emails not sending in my rails app? Internal Server Error) Ch 20. Learn Rails tutorial by Daniel Kehoe

I am on Ch 20 of the Learn Rails tutorial 'Send Mail'. There is a create contact form and a notification email is supposed to be sent to my email address. I have set up configuration as per the book and the email is being generated correctly i the…
Owen
  • 361
  • 1
  • 5
  • 16
0
votes
1 answer

Where is the .bashrc file in my cloud9 app ? (Daniel Kehoe's learn-rails tutorial book)

I am trying to set up the configuration in preparation for following Daniel Kehoe's learn-rails tutorial book, but I am having trouble setting up the environment variables. The book seems to explain how to do it on Mac and Atom but not with cloud9.…
Owen
  • 361
  • 1
  • 5
  • 16
0
votes
0 answers

Using the ‘Learn Ruby on Rails’ book, why won't my Rails server start?

I am at the start of Daniel Kehoe's learn-rails tutorial book and I have just tried starting the server. The only thing I have done so far is to copy the gemfile from the github repository to make sure all versions are the same (not sure if this…
Owen
  • 361
  • 1
  • 5
  • 16
0
votes
2 answers

I'm getting an undefined method `each' for nil:NilClass...but it is defined?

I've been searching for hours but I can't find the answer anywhere. I'm new to ruby on rails and I can't figure out how to fix this. What caused the problem is that I moved an instance variable from one file to another and now no links are working…
Mia
  • 93
  • 1
  • 3
  • 13
0
votes
1 answer

Why does the Rails Composer update Rails when it builds an app?

# I run these commands: $ rvm current ruby-2.3.3@rails500 $ gem list | grep '^rails ' rails (5.0.1, 5.0.0) $ gem uninstall rails -v 5.0.1 Successfully uninstalled rails-5.0.1 $ gem uninstall railties -v 5.0.1 Successfully uninstalled…
Tom Elam
  • 93
  • 8