I built a small cms for personal websites using Rails. Each site has a simple blog.
I've been looking for a good third party comment system to add to the cms.
Have you used (or know of) any "comment service" that I can seamlessly integrate via their API, and if they have a ruby gem even better.
Thanks in advance
Deb
...
Hi everybody,
I am using the Soap RPC lib to connect 1 client to 1 server (in different PC on the same network)
in the server:
require "soap/rpc/standaloneServer"
...
class SyncServer < SOAP::RPC::StandaloneServer
def initialize(*args)
super
add_method(self, 'remote_method')
end
end
in the client:
driver = SOAP::RPC:...
I'm trying to get my app to package my gems before deployment (to heroku) One of my gems in my Gemfile is a custom gem that I've written and I'm using the :git option of bundler to use the specific tag of my interest as such:
gem "my_gem", :git => "[email protected]:my_username/my_gem.git", :tag => "v0.1.0"
When I run bundle package how...
I'm writing my first Gem for a Rails project, and looking for in depth information about this topic i have found nothing at all.
I'm not looking "how to build a gem", but a relevant developer guide or resource on the topic (distributed programming with Ruby and so on).
I expect if someone have good reference material ??
Thanks in adva...
I've found some online interactive Javascript editors, but I wonder if there is a local equivalent as a gem that lets me test Javascript just like IRB and Rails console in Mac?
...
I have installed savon gem in windows 7 with ruby 1.8.
It shows in gem list
But when I give
require 'rubygems'
require 'savon'
It gives following error
NameError: uninitialized constant Savon
from ./savon.rb:3
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from C:...
Hello guys. How can I remove rvm (ruby version manager) from my system?
...
Try to install feedzirra gem (http://github.com/pauldix/feedzirra)
Do this:
gem install pauldix-feedzirra
I get the following error:
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing pauldix-feedzirra:
ERROR: Failed to build gem native extension.
...
I need my application to have a module with email functionality.
This will have all the functionality of an email client. Each user will
have an inbox, outbox, sent folder, custom folders, sub folders etc.
They should be able to send, receive,forward, reply to emails.
Is there any gem/plugin I can use for this? If there is an alterna...
I'm using compass 0.10.4
I'm running a compass command and I want it to put it's output to the
server when I run a watch instead of to the project directory.
Is there any way of specifying an absolute path instead of a path
relative to the directory you want the css output to?
I'm trying to have my compiled css output to the directory...
So, I'm positive I once did a 'sudo' bundle install' out of desperation, which I now understand is a no-no. But now, when i try to run 'bundle install', I get the following error:
Installing culerity (0.2.12) /Library/Ruby/Site/1.8/rubygems/installer.rb:294:in `generate_bin': You don't have write permissions into the /Library/Ruby/Gems...
I cannot get this crazy dependency to work and please don't tell me to go to Snow Leopard because I have a PPC.
I have oniguruma, textpow, ultraviolet all installed. I'm using rvm which is probably the problem. Not that rvm is bad it's just that I don't know how to get the paths correct.
When I startup a rails app the error I'm getting...
I have been wondering why so many coders have bad organization in their documents.
I think I know why.
As usual it has to do with standardization. If no standard it out there, everyone has to reinvent the wheel all the time.
So I upload a gem at RubyGems.org. But that was only 1/4 of it all.
I have to write a tutorial for it, making...
Hello,
Will it affect my rails application if the rubygems version I used on my development server is 1.2.0 and on the production server it is 1.3.7 ? If so , how can I downgrade the production server's version of rubygem?
The reason Im doing this is we've decided to switch over to a new dedicated server and I want to mirror every versi...
Hi!
I'm using Bundler gem 1.0.0.rc.6 and Rails 2.3.8
I specified a gem to be part of the production group in the Gemfile but, when I run a Rails console in dev env, that damn gem is loaded!
I strictly followed the setup found on http://gembundler.com/v1.0/rails23.html
Any idea ?
Thanks !
Edit: BTW the 'problematic' gem is not loaded...
Is there a way like how we debug models / controllers with logger.debug? Or even a better method?
Thank you!
Edit 1
Using ruby-debug seems like a steep learning curve for me, could anyone point me something similar to logger.debug, perhaps?
Edit 2
Alright, I think I started to get a grasp on ruby-debug.
Some useful notes for newbie...
For example I have this gem called Authlogic-openid, that plugin is outdated, no longer supported, and broken (let me know if you know any alternative by the way).
I wanted to make sure the test runs by keying ctrl+R on vendor/gems/authlogic-oid-1.0.4/test/acts_as_authentic_test.rb
[Please do not attempt to try my steps below, the gem ...
For example in open_id_authentication plugin. Inside folder test/test_helper.rb inside that plugin, it got:
require 'test/unit'
require 'rubygems'
gem 'activesupport'
require 'active_support'
gem 'actionpack'
require 'action_controller'
gem 'mocha-0.9.8'
require 'mocha'
gem 'ruby-openid'
require 'openid'
RAILS_ROOT = File.dirname(_...
When you are facing with this kind of dilemma, what do you usually do, and why?
In my case, I want to create a user authorization system that works with facebook connect and openID.
Authlogic is working, but unfortunately authlogic-openid is no longer supported (they really should clean up ancient codes on github!)
Thanks!
...
Bonus question: Anybody knows how to do it using ruby-openid gem?
Thanks!
...