RailsApps / rails-stripe-membership-saas

An example Rails 4.2 app with Stripe and the Payola gem for a membership or subscription site.

Home Page:http://railsapps.github.io/rails-stripe-membership-saas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rails s fails

pavankat opened this issue · comments

I was having problems while going through the tutorial, so I thought I should made a clone of the repo to see if that gives me problems as well.

I cloned the RailsApps / rails-stripe-membership-saas and then I ran bundle install. Then I tried rake db:migrate, but it didn't work. Also rails s didn't either.

Here are some commands and what output I get in the terminal:

Any help would result in me sleeping soundly tonight. Thank you so much in advance.

#( 02/02/13@11:53PM )( admin@Administrators-MacBook-Pro ):~/desktop/rails-stripe-membership-saas@master✔
   rake db:migrate
rake aborted!
cannot load such file -- binding_of_caller.bundle
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/binding_of_caller-0.6.8/lib/binding_of_caller.rb:5:in `<top (required)>'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `require'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `each'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `block in require'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `each'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `require'
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler.rb:128:in `require'
/Users/admin/Desktop/rails-stripe-membership-saas/config/application.rb:13:in `<top (required)>'
/Users/admin/Desktop/rails-stripe-membership-saas/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
#( 02/02/13@11:57PM )( admin@Administrators-MacBook-Pro ):~/desktop/rails-stripe-membership-saas@master✔
   rails s
/Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- binding_of_caller.bundle (LoadError)
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/binding_of_caller-0.6.8/lib/binding_of_caller.rb:5:in `<top (required)>'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `require'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `each'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `block in require'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `each'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `require'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/bundler-1.2.3/lib/bundler.rb:128:in `require'
    from /Users/admin/Desktop/rails-stripe-membership-saas/config/application.rb:13:in `<top (required)>'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.11/lib/rails/commands.rb:53:in `require'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.11/lib/rails/commands.rb:53:in `block in <top (required)>'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap'
    from /Users/admin/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
#( 02/02/13@11:57PM )( admin@Administrators-MacBook-Pro ):~/desktop/rails-stripe-membership-saas@master✔
   openssl version
OpenSSL 1.0.1c 10 May 2012
#( 02/02/13@11:52PM )( admin@Administrators-MacBook-Pro ):~/desktop/rails-stripe-membership-saas@master✔
   rails -v
Rails 3.2.11
#( 02/02/13@11:52PM )( admin@Administrators-MacBook-Pro ):~/desktop/rails-stripe-membership-saas@master✔
   ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.0]

This fixed it:

rvm install ruby-1.9.3-p374
bundle install

I seriously don't know what's going on, but that worked.