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
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

Error with RailsApps starter app for rails-devise-roles tutorial

Hello I am trying to install the starter app for rails-devise-roles from RailsApps. I have done one of their previous basic tutorials, but it has been about four months. I'm not sure if I need to update something. I am using a mac with terminal…
Shazam
  • 301
  • 1
  • 2
  • 16
0
votes
1 answer

How should my simple Rails app be set up on Heroku to be production ready?

I'm new to Rails and Heroku, and I'm curious about several things regarding production. Do I need to utilize any worker dynos on a simple rails app that has a little email functionality via Mandrill(no queues have been built on my end), and uses…
EricSchulz
  • 261
  • 2
  • 6
0
votes
0 answers

"$ rails s" gives following error

/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- rubygems/format (LoadError) from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:54:inrequire' from…
Jay Patel
  • 59
  • 7
0
votes
1 answer

a simplification of what a rails project actually is

I'm at the point where I can make basic rails apps, and am looking for a better overview of how rails is working. This is what I am visualising. Is this correct? Install the rails gem. This also installs a rails script. rails new ... creates the…
Zach Smith
  • 8,458
  • 13
  • 59
  • 133
0
votes
1 answer

(un)Happy Space User Error when installing RVM

So I'm completely new to Ruby and Rails and everything to go with it. I'm working through the Learn Ruby on Rails book and am stuck at installing RVM. I'm following the instructions from the article Install Ruby on Rails on Mac OS X Mavericks. I…
0
votes
0 answers

Stripe checkout works locally, but failing to pass 'card' when deployed to heroku

My Rails 4.0 app is able to charge a payment successfully when running on localhost, but the same app deployed to Heroku fails. My Stripe logs say that the 'card' field is empty. I feel that the code is legit, but that something is failing between…
0
votes
1 answer

Bundle Install can not find compatible version of "activesupport" for google-drive

Hello all I am working on a demo application and have noticed that I get this error after inserting the gem google-drive gem into my Gemfile. Resolving dependencies... Bundler could not find compatible versions for gem "activesupport": In…
0
votes
4 answers

Google drive authentication error 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 and am stuck at "Spreadsheet Connection". I have…
trick420
  • 237
  • 3
  • 9
0
votes
2 answers

Accessing Params in Rails 3.2

I am working through the RailsApps Stripe tutorial. When a new subscriber is created through a devise registration controller they are then directed to their content page through a content controller. I want to use their name and email address…
0
votes
0 answers

Error starting rails server using Rails Composer

I created a new rails application using Rails Composer and it was able to see all the project files. However, if I start rails server, I'm getting following error - /Users/aniruddhabarapatre1/RubyRails/rails-bootstrap/config/application.rb:7:in…
Aniruddha
  • 3,157
  • 4
  • 32
  • 48
0
votes
0 answers

binding_of_caller gem not being invoked in Rails 4

I really like the better_errors gem in development and on my os x machine get the REPL to appear. Now I'm learning the vagaries of Windows XP and find that while better_errors works, the REPL does not appear, helpfully suggesting I install the…
sam452
  • 1,281
  • 3
  • 20
  • 33
0
votes
1 answer

Foundation, modal and Rails: event.returnValue is deprecated

I'm been using the Railsapp project to get excellent start on this project and this is the first time I'm using Foundation to help me with the front end. Their User Management uses the following code in its view to display users. <% @users.each…
sam452
  • 1,281
  • 3
  • 20
  • 33
0
votes
4 answers

Heroku migrate command failing

I've got an issue when deploying my app to Heroku. I'm running ruby 2.0.0, rails', '3.2.13' and 'pg', '0.15.1'. I've compiling my assets and am loading environment variables with figaro. The issue that I am having is that I cannot run the heroku…
0
votes
2 answers

Closing Flash Notice Causes page to redirect

I am following the tutorial for devise and cancan integration for rails. https://github.com/RailsApps/rails3-bootstrap-devise-cancan I notice when a user logs in the flash notice causes the page to reload after it has been closed out. I see this in…
kilomo
  • 249
  • 2
  • 6
  • 17