similar to: Can't start script/console, but can start webrick

Displaying 20 results from an estimated 3000 matches similar to: "Can't start script/console, but can start webrick"

2006 Nov 20
1
Getting started with ActiveMerchant & new Ecommerce book
Hi there I''ve got a copy of the ''Beginning Ruby on Rails Ecommerce'' book and am trying to integrate ActiveMerchant into my app. My order.rb file has the line: ''include ActiveMerchant::Billing'' per the book. My Order model also has, amongst other things, the following validation: '' validates_inclusion_of :billing_country, :in =>
2011 Feb 19
1
undefined method `map' for nil:NilClass for rails 2.3.2
Hai guys! When i try to do rake gems:install and rake gems:refresh_specs in my app below error is occurred. please give some solution for this. config.gem: Unpacked gem authlogic-2.1.3 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. rake aborted! undefined method `map'' for nil:NilClass enivorment.rb RAILS_GEM_VERSION =
2007 Jun 21
2
expects with returns that returns the return value of the actual method
I''m trying to test some code that''s using active_merchant using the following test. What I''d like to be able to do is verify that purchase is called, however, rather than specifying the return value for purchase with returns, I''d like it to return the actual return value provided if you called the non mocked purchase method. Is this possible? def test_charge
2009 Sep 16
2
Active Merchant Error
Hello friends, I m using Active Merchant(version = 1.4.2) gem. in billing calculator i m require ''active_merchant'' and when i m open the page it is throw error such "no such file to load -- active_merchant". Can you guyz tell me how can i resolve this problem ... Waiting for every possible answer -- Posted via http://www.ruby-forum.com/.
2007 Oct 13
4
Chapter 9
Hello, I''m currently stunk on this issue for few days and I do not know how to get it fixed. The system always raises this error message : order is closed and here is my order.rb: class Order < ActiveRecord::Base include ActiveMerchant::Billing before_validation :set_status attr_protected :id, :customer_ip, :status, :error_message, :updated_at, :created_at attr_accessor
2006 Jul 17
1
payment or active merchant
Anyone used both? Im looking into the pros and cons of there two Payment of course supports more than just credit cards One query that comes to mind is why doesn''t active_merchant just use payment Would keep things nice and dry -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Aug 31
3
Bootstrapping from SVN
Is there a simple way to bootstrap merb directly from the Subversion repository, rather than first installing it as a gem? I can do the following if I already have an old gem lying around: merb -g testapp # using an old gem cd testapp rake merb:freeze_from_svn Unfortunately, that means I''m using an old version of the generator. So for example, when I just tried this,
2006 Aug 30
3
Webrick Server don't start after Update Rails
Hi, After a Rails update (rails-1.1.6) , Webrick server don''t start. Error: Cannot find gem for Rails =1.1.4: Install the missing gem with ''gem install -v=1.1.4 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. Looks normal because of the update. A new project has no problems if I start the Webrick server. My
2008 Feb 28
2
random exception driving me crazy: SecurityError (Insecure: can't modify array)
Hi all, I''m running into a very strange but incredibly annoying problem that I just can''t seem to solve. The exception is occurring from a seemingly innocuous line in my code, a simple ''logger.warn("some debug information")''. The backtrace follows: SecurityError (Insecure: can''t modify array)
2008 Apr 04
3
Weird Issue with Rails 2.0.2+???
Hi. I have kept my rails installation up to date. Now I have 2.0.2.9216 installed, including a fewl older ones, back to the original 2.0.2 release, However, I keep on getting weird problems with newly created projects on line #44 of config/environment.rb: config.time_zone = ''UTC'' So I did a "sudo gem cleanup" so that only 2.0.2-9216 remains, and created a new
2011 Jan 27
1
recent activemerchant examples needed or perhaps another solution
Hi, I have a reeally big problem with understanding how to use ActiveMerchant, Perhaps someone would point me to a different solution to my problem. I need to build a little web shop which will be based in the UK, and my customer wants to use PayPal Express Checkout, because there''s no monthly fee. So far I had only problems with ActiveMerchant examples because: 1) they are way too
2011 Mar 19
0
Problems with SSL dependent gems OAuth2 & ActiveMerchant
Hello all, My application uses the OAuth2 gem (0.1.1) to connect to Facebook, and the ActiveMerchant gem (1.12.0) to connect to PayPal. Under what is the current Rails/Ruby distribution, both of these gems throw the following OpenSSL::SSL::SSLError when used: * SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed I did some digging, and found two
2011 Feb 02
1
newbie: paypal + line items
hi, using activemerchant + rails the first time. how can i send my line items + descriptions etc over to paypal so that the user can review the items? purchase_options{ :items => [ { :name => "Tickets", :quantity => 22, :description => "Tickets for 232323", :amount => 1211221 },
2006 May 30
2
ActiveMerchant
Is anyone using ActiveMerchant currently? I''ve seen it recommended on this list several times, but it seems kind of buggy and incomplete and I''m having trouble getting it to work. >From the example at http://home.leetsoft.com/am/, I''ve tried: gateway = ActiveMerchant::Base.gateway(:authorized_net) response = gateway.capture(1000, creditcard) ..but it
2006 Oct 09
1
error running 'ruby script/console' => "uninitialized constant RAILS_ROOT" ??
Hi, Anyone suggest why when I try to run the console via ''ruby script/console'' I get the following "uninitialized constant RAILS_ROOT" ?? Error: ================================ V:\Source\testapp>ruby script\console Loading development environment. ./script/../config/../config/environment.rb:3:NameError: uninitialized constant RAILS_ROOT
2006 Sep 11
0
ActiveMerchant Paypal Pro Support
How is ActiveMerchant''s Paypal Pro support? I am migrating a client''s site to Rails that uses Paypal Pro and they have been pretty happy with it (and know how to use Paypal''s website). I tried first setting up the PayPal plugin directly, but ran into some issues and then I noticed that ActiveMerchant has PayPal Pro, but its labeled "testing" and
2010 Mar 22
2
ActiveMerchant, Authorize.net and Email Receipts
I''ve posted this on RailsForum.com and in the ActiveMerchant talk group, and haven''t received an answer, so I figure I''ll try here. Hello. I''ve been searching for information on this for a while, but my google fu is evidently weak--hardly anyone even talks about email receipts re: ActiveMerchant, much less my specific problem. In any case, I have a client whose
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi After having updated some GEMS I get `load_missing_constant'': uninitialized constant ActiveSupport::Cache (NameError) on starting the server of a freshly generated rails project. Before, I already had Rails 2.3.2 projects succesfully running, now all of them generate this error. These are my GEMS: actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0) actionpack (2.3.2, 2.2.2, 2.1.2,
2008 Nov 21
15
Switching the version of Rails that an app uses
Hi All, I’ve got a few versions or Rails installed and I''d like to run an App I’m developing with various versions of Rails. I heard of two ways to switch the version of Rails that an app uses: 1. Use GitHub as described by http://kylecordes.com/2008/04/30/git-windows-go/ . But that requires using Bash in a Command Window and more steps than I want to go through. 2. Alter
2008 Aug 24
2
config.after_initialize and development mode
Hi, I''m using activemerchant and setting up a class variable using config.after_initialize. It works great for the first request, but then the variable is nil. config.after_initialize do ActiveMerchant::Billing::Base.mode = :test OrderTransaction.gateway = ActiveMerchant::Billing::PaypalGateway.new(...) end I''m assuming this is is due to the model reloading after each