Displaying 20 results from an estimated 1400 matches similar to: "no such file to load -- restClient (MissingSourceFile) HELP"
2011 Oct 07
1
403 Error Dont know whats wrong.
Hi,
I am quite new to ruby and am programming an application to send sms
using rest_client gem. I so far have code on one of my modules which
tries to send an sms to a number. It gives the 403 error -
RestClient::Forbidden in SMSController#index
403 Forbidden
Rails.root: /Users/user1/Desktop/rails_projects/sms_app
My code in the module looks as follows - before adding this code i had a
simple
2011 May 06
3
RestClient send method?
Hey all,
I see this line of code:
RestClient.send(verb, url, parameters)
Basically there''s two rails application that communicate with each
other. RestClient is a rails gem. Here we send the get http verb and a
url string comprising of the other application base url and append a
query string to it consisting of the new user email that is being
created. So if the arguments are these:
2011 Jul 13
0
RestClient posting multipart issue - RestClient::Found Exception: 302 Found
I thought I found how to post a file to my controller for PaperClip
attachment processing , but I am stuck with the the RestClient
processing
I am creating the file from the email attachment :
file = StringIO.new(part.decoded)
file.class.class_eval
{ attr_accessor :original_filename, :content_type }
file.original_filename = part.filename
file.content_type = part.mime_type
# then adding some
2014 Apr 17
0
RestClient::ResourceNotFound in UsersController#index
Hi,
I am trying to implement Rest Api for a sample application for learning
purpose. But when I try to make a "GET" request through the RestClient it
is showing error as
RestClient::ResourceNotFound in UsersController#index
def index
uri = "#{API_BASE_URL}/users.json" # specifying json format in the URl
rest_resource = RestClient::Resource.new(uri, USERNAME,
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
Hi everybody,
Please any one help me, Previous two day''s I am googling, Still not
find solution. this really frustrating.
I had deploy my app on heroku http://radiationn.heroku.com/. it is
working fine on localhost but i got APPLICATION ERROR.
IN log wht i find that in photo.rb model not able to find
"has_attached_file", I am not able to shout out this proble. It
working
2010 Jun 09
4
rails+sinatra sent image
Hi!
I have simple rails application - users with name and avatar and in
sinatra I want to create new user.
form for new user
<form action="/users/create" enctype="multipart/form-data"
method="post">
<p>
<label for="name">Name: </label>
<input type="text" id="name" name="user[name]" >
2009 Oct 13
2
Single Table Inheritance (STI) Broken: NameError
Some how I''m getting NameError: uninitialized constant when accessing a
child models that inherits form the parent model. However, if I access
the parent model first, then the child model is resolved.
What am I doing wrong? My steps are below...
Thanks,
Francis.
> ./script/generate model Blah type:string
class CreateBlahs < ActiveRecord::Migration
def self.up
create_table
2012 Mar 06
2
rails login page with basic authorization
i have 2 portal, one and two. The portal one have all apis, and the portal
Two have the interfaces, Here just i am doing enter the username and
password in the login page so that will go the method of Portal Two. Then
it will pass the username and password of a method of Portal One, this is
am doing here. My question is how to do the basic authorization for encrypt
the username and password
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All
Need some brilliants minds here :)
I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... )
I''ve move my gems from .gems to Bundler, but I''m having some issues with
Factory_girl when I rake spec
"uninitialized constant Factory"
I''m following the instructions from http://gembundler.com/rails23.html.
Basically:
- grab all config.gem and place
2005 Dec 14
1
just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
Hello there good rails people!
Just did a fresh install of rails on my new (old) Ubuntu machine. I am
running ruby 1.8.2 and have installed about five extra packages that do
not come with Ubuntu. I managed to install ruby-gems and used gems to
successfully install rails but I am getting an error message when I run
rails, it seems to be choking on a Tkl paren. Google has not turned up
much
2011 Nov 09
14
Rony 1.9.3-p0 on Rails 2.3.x: the helpers "require" problem
Yes, I know that Rails *2.3.x* is no longer fully supported (this is why
I''m posting it to rails/issues). Still, I would like to post the topic so
that everyone who experience the same problem could quickly google for it
(no, afaik no solution for this yet).
I''m trying to migrate a 1.5 years *2.3.x* app from Ruby version *1.8.7* to *
1.9.3-p0*.
The strange problem I
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server.
Here are the versions installed:
OS: Windows Server 2008
Ruby: 1.8.7
Gems:
actionmailer (2.3.5, 1.3.5)
actionpack (2.3.5, 1.13.5)
actionwebservice (1.2.5)
activerecord (2.3.5, 1.15.5)
activeresource (2.3.5)
activesupport (2.3.5, 1.4.4)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
gem_plugin
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
2005 Dec 14
2
errors while starting console...
Hello,
when i try to start the console (./scripts/console) i get the following
error
./script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in
`exec'': No such file or directory - irb -r irb/completion -r
script/../config/../config/environment --prompt-mode simple
(Errno::ENOENT)
from
2007 Aug 09
2
no such file to load -- acts_as_ferret (MissingSourceFile)
Hi
I''ve been using acts_as_ferret for a few weeks on my ibook and
everything has been going just fine. But when I migrated my project onto
windows xp sp2, acts_as_ferret seemed to become broken.
I just put my project into a svn repository from ibook and checked it
out into a windows pc. I got ruby1.8.5, rails1.2.3, ferret0.11.4
installed as gems. After I checked out the project, I got
2006 Nov 22
0
rspec_on_rails MissingSourceFile
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2008 Jun 12
2
Mongrel won''t start ... mongrel_rails (MissingSourceFile)
Hi All,
I''m a newbie and I''m soooo confused at the moment!
Here''s my setup:
1) I''ve installed Ruby 1.8 on an Ubuntu 7.10 platform. I used apt to
install that.
2) I downloaded rubygems_1.1.1 and installed that (tar -xzf, then ruby
setup.rb)
3) I installed rails (gem install rails --include-dependencies)
4) I installed mongrel (gem install mongrel
2009 Jan 14
1
MissingSourceFile (no such file to load -- mysql)
I''m having problem trying to get the app running properly due to it not
finding MySQL.It seems that the app can''t find mysql.
This error shows up on my production log: MissingSourceFile (no such
file to load -- mysql)
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2008 Sep 09
2
MissingSourceFile error
I created a rails application by "rails demo" command and generated a
controller "script/generate controller Say". Then I created a file in
app/view/say/hello.html.erb. I added a method "hello" in
app/controllers/say_controller.rb. From a browser to access the link
"http://localhost:3000/say/hello, I got this error:
MissingSourceFile in SayController#index
no
2006 May 29
0
MissingSourceFile (no such file to load -- breakpoint):
Anyone seen this before? I did a gem update recently and may have broken
something. But I''d still like to decipher what the message below
actuallt means:
MissingSourceFile (no such file to load -- breakpoint):
/usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__''
/usr/lib64/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''