Displaying 20 results from an estimated 70000 matches similar to: "contacts gem to save imported contacts"
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody,
I''m trying to use the prawn gem into a new rails3 application on debian.
What I did:
As root:
- install rubygems, from
http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz
- gem install rails
- gem install prawn
- gem install pdf-reader
- gem list | grep prawn =>
prawn (0.8.4)
prawn-core (0.8.4)
prawn-layout (0.8.4)
2012 Aug 17
5
How to Include Gem in Different Path
Hi,
I just tried Ruby on Rails (with RailsInstaller 2.1.0) and it works fine
on my PC. However, when I put this on the website, I got the following
error message:
Could not find multi_json-1.3.6 in any of the sources
(Bundler::GemNotFound)
The problem is that the website has multi_json 1.0.4. The website
allows me to download my own gems, but after the process, it is located
at
2012 Mar 07
0
LoadError: Expected X to define on gem upgrade
I''m upgrading to the latest version of ActiveAdmin and am running into the
following when trying to start the app:
Expected ../app/model/store/base.rb to define Base
base.rb defines base like:
module MyApp
class Store::Base
end
end
I''ve done some digging and found that ActiveAdmin did some refactoring to derive everything from a BaseController. It also depends on
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb
config.gem ''collectiveidea-delayed_job'', :source => ''http://
gems.github.com''
>>gem list | grep coll
collectiveidea-delayed_job (1.8.2)
The gem infact got installed via rake gems:install. but now when I
start my app, it doesn''t recognize the gem being installed. Please
help.
script/generate delayed_job
2011 Jan 15
0
edge rails 3.1beta
Hi all,
I just decided to switch to edge rails. So, I added the following
gem ''rails'', :git => ''git://github.com/rails/rails.git''
gem "rack", :git => "git://github.com/rack/rack.git"
to my Gemfile.
As soon as I tried to run my app, one of my controllers throw this
error:
ActionView::Template::Error (undefined method `[]''
2013 Mar 08
1
Rails engines question
I would like to use my own directory named forms inside my own engine. I
know I can add it to loading paths like this in application.rb
module MyAPP
class Application < Rails::Application
config.paths["forms"] = Rails.root.join(''vendor/myapp/forms'')
end
end
or inside
and can access it inside controller like this:
2010 Aug 20
0
Problem with db:create
My ruby app always created the databases on postgres just fine, but, a
days ago, I''ve tried to create a new project and when I execute the
command "db:create:all" i got the following error:
Couldn''t create database for {"encoding"=>"unicode", "username"=> "-my
username-", "adapter"=>"postgresql",
2012 Jan 14
1
Error in Creating a rubyonrails application
when i try to run the rails server after successfully creating a rails
application i get following error...
can you please suggest some solutions to fix this.
sward@master:~/work/myapp$ rails server
/usr/lib/ruby/gems/1.8/gems/execjs-1.2.13/lib/execjs/runtimes.rb:47:in
`autodetect'': Could not find a JavaScript runtime. See
https://github.com/sstephenson/execjs for a list of available
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
I am fighting with this for 5 days... i''m getting crazy!
Here is my deploy.rb:
require "bundler/capistrano"
require "rvm/capistrano" # Load RVM''s capistrano plugin.
set :rvm_ruby_string, :local # Or whatever env you want it to run
in. ''1.9.3''
set :domain, ''www.xxx.com''
set :application,
2010 Jul 12
0
Bundler problems
hi there,
I have a few issues with bundler.
1) running "gem install bundler" in my project directory as a regular
user is impossible due to permissions problem. I had to use sudo
2) running "bundle install" in my project directory as a regular user,
I got the following permission problem.
"Installing rspec (1.3.0) from .gem files at /home/ct9a/projects/myApp/
2012 Jan 05
2
Error while rake actions
rake aborted!
/home/Mahesh/uma/myapp/Rakefile:6: unterminated string meets end of file
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load''
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile''
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling''
2012 Jan 01
3
'require_tree .' does not seem to be including the available *.js files as expected. Why?
Hi, all,
Happy new year :)
Referring to http://guides.rubyonrails.org/asset_pipeline.html, it
seems that ''require_tree .'' in myapp/app/assets/javascripts/
application.js will include all *.js files in the myapp/app/assets/
javascripts/.
I have a few other *.js files in this directory : parts.js, makes.js
and categories.js.
Here''s an extract from the html file I
2010 Aug 23
7
Sharing sessions between a rails3 app and a rails2 app. Rails 2 app crashes.
Hey all.
I have two apps. One is a rails3 app and the other is a rails 2 app.
Using proxying I am routing actions in the myapp.com/foo to the rails2
app.
It almost works! I can set a session variable and a cookie variable on
the first app (myapp.com) and then read them on the second app
(myapp.com/foo).
It only works the first time though. If I go back to myapp.com and
then revisit
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors
2010 Mar 13
0
Authlogic -> Production Server
Sorry if this is a repost. I never received a successful post msg.
So this is my first deployment. I''ve used Capistrano and Git. CPanel
to install all the gems (with some added server support for additional
gems). CPanel is used to start/stop the app. In development mode the
app starts and runs into a db problem (expected I never copied the
sqlite3 db). But it starts. In production mode
2012 Jun 08
1
[Rails 3.2.5] Rails: unit test fixture_path : fixture_file_upload cannot find the file ...
I am trying to perform a test unit, using FactoryGirl
include ActionDispatch::TestProcess
FactoryGirl.define do
factory :article do
.......
photo { fixture_file_upload ''/files/test.jpg'', ''image/jpg'' }
end
end
IN mt test_helper.rb I defined the fixture_path
def fixture_path
File.dirname(__FILE__) + "/fixtures/" #
2010 May 06
7
Facebook, authlogic, and OAuth2
Has anyone gotten started with getting the OAuth2 replacement for
Facebook Connect working with auth_logic?
I know there is an OAuth2 gem (http://intridea.com/2010/4/22/oauth2-
gem-just-in-time-for-facebook-graph?blog=company), and I''m thinking of
using that to integrate.
Anyone know when the Fb Connect API will be shut down?
--
You received this message because you are subscribed to
2011 Jul 11
0
stuck with permissions in using FileUtils
Even if I am using PaperClip & Delayed_job, I guess the issue maybe
solved by FileUtisl gurus ...
here is the case :
I am testing a delayed video format transcoding , transcoding works
perfectly but I get an issue -trying to write back the transcoded
video from a tmp directory into the PaperClip path
the original uploaded video file is stored into the :url => "/system/
2012 Jul 12
0
Set requests' header inside spec/routing
I''m working on a Rails application having a REST API in JSON format and
versioned (according to this excellent Ryan''s cast:
http://railscasts.com/episodes/350-rest-api-versioning).
For instance, there is a spec/requests spec:
require ''spec_helper''
describe "My Friends" do
describe "GET /my/friends.json" do
it "should get
2012 Sep 04
2
How to get contact list from yahoo in rails using OAuth
I can successfully get the contacts from google using OAuth gem in rails.
my gmail configuration is :
:google=>{
:key=>"***",
:secret=>"***",
:expose => true,
:scope=>"https://www.google.com/m8/feeds/"
}
now i want to get contact from yahoo and hot mail. How to get that contact
I have given following configuration in my