Displaying 20 results from an estimated 200 matches similar to: "active admin undefined method `' for nil:NilClass"
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys,
Facing a weird error .
Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
It seems to be happening with mail sending mail . I am using AUTHSMTP to
send mails . Unable to send mail and the app breaks .
Any help will be appreciated . Same code worked with ruby 1.8 and rails
2.3.x .
*Configuration*
Rails 3.2
Ruby 1.9
Engineyard , Linux Instance
*Backtrace :*
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
Hi Guys,
Facing a weird error .
Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
It seems to be happening with mail sending mail . I am using AUTHSMTP to
send mails . Unable to send mail and the app breaks .
Any help will be appreciated . Same code worked with ruby 1.8 and rails
2.3.x .
*Configuration*
Rails 3.2
Ruby 1.9
Engineyard , Linux Instance
*Backtrace :*
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
I have a strange problem with setting request.format = :mobile
I can reproduce this problem on a completely fresh Rails 3.0.7 app
with no special gems. This seemed to work well in Rails 2 but for some
reason is hiccuping here, not sure what''s different in Rails 3 that
makes this hiccup. If you look at the stack track, it doesn''t even
pass through my app stack once -- weird --
2012 Oct 09
0
[Win7 x64] Encoding::UndefinedConversionError after installing when using gem and rails
Hello,
after installing the RailsInstaller i got the following error:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in
`exist?'': "\x81" to UTF-8 in conversion from Windows-1252 to
UTF-8 (Encoding::UndefinedConversionError)
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in
`default_path''
2013 Oct 20
1
cannot load such file -- unicode (LoadError)
I''m new to RoR and working on a migration of project developed by another
team.
I''m using Rails version (3.2.13) and my bundle install works successfully.
However while running "rails server", I get the error below.
Any suggestions are most appreciated.
Thanks!
-------------- rails server output --------------
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
I just installed rails using Rails installer.
and when I ran the following code:
> rails new blog
>
I got the following errors:
F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re
quire.rb:36:in `require'': 193: %1 is not a valid Win32 application. - F:/dev/r
uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro
r)
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my
pc. Do I need to ran something in the ruby to use MySQL?
C:\>rails new MySQLRestaurant --database=mysql
C:\>cd MySQLRestaurant
C:\MySQLRestaurant>rails generate scaffold review poster:string
date:datetime ar
ticle:text
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
m sorry its a totally newbie question, but m really stuck. please help
if possible.
after installing everything required to run ruby on rails when i write
the command ''rails s'' in the command prompt it doesn''t start the server.
rather it shows :
C:\Sites\railsinstaller_demo>rails s
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run
2013 Jan 29
0
mysql installation in Windows 7
I have Windows 7. I am trying to get the gem installed for MySQL
Server 5.5
So, I get the zip file for gem from Brian Mario’s repository on github
mysql2, extract it in the new mysql2-0.3.12b5 folder and start the
procedure as follows. As seen below, I get the error “file ''lib'' not
found” at the end. I tried many times, got the same problem. Anyone
has a solution to this?
2013 Apr 16
1
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys..
i got this type of error when i configured Gemfile
then what to do?*
gem "thinking-sphinx"
gem ''ferret''
Updating git://github.com/mark-moseley/linecache
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using ClothRed (0.4.1)
Using RedCloth (4.2.9)
2014 Jan 19
0
gem install fileutils error
Hello Guys
I'm new in Ruby
so I'm now trying to install fileutils by using the command [ gem
install fileutils ]
note: I'm using windows 7 :(
always when i trying to install it i got this error
C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for stdint.h... *** extconf.rb failed ***
Could not create Makefile due to some
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
2013 Apr 16
2
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys..
i got this type of error when i configured Gemfile
then what to do?*
gem "thinking-sphinx"
gem ''ferret''
Updating git://github.com/mark-moseley/linecache
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3)
Using ClothRed (0.4.1)
Using RedCloth (4.2.9)
2012 Mar 30
0
Facing probme with image upload rails 2.3.4, ruby 1.9.2 with papaerclip
I been working on image upload since long and every time working fine,
Now since i deployed application on server,i am facing strange problem
while image upload.
When i am trying upload image it''s gives error like,
NameError (undefined method path'' for
classActionController::UploadedStringIO''): :10:in synchronize'' passenger
(3.0.9)
2011 Aug 21
1
dashboard 1.1.1 with filebucket doesn't show contents of the new file
Am using dashboard 1.1.1 with the use_file_bucket_diffs option.
When clicking on the links within a report it will show the old md5
file (on the left) but not the new md5 file (on the right)
like;
content content changed ''{md5}26a3112822d01f2ce6b3f052bf2809de'' to
''{md5}dd97364ab0559344d73231f517951595''
26a3112822d01f2ce6b3f052bf2809de ==> is displayed
2009 Apr 17
0
A frustrating and strange error when config.action_controller.perform_caching = true
Hello all.
I am having a hell of a problem and it''s driving me nuts. I get the
following error (undefined method `controller_name'' for nil:NilClass): but
only when config.action_controller.perform_caching = true
I googled around some and found this thread
http://groups.google.com/group/communityengine/browse_thread/thread/b84154e5228bf9f3which
suggests it may be a conflict with
2013 Mar 07
2
Puppet Dashboard changed reports view error
Hello Puppet Users !
We encounter a problem with the dashboard on this URI : /reports/changed
The /reports works fine with ~130000 reports (up to 3 months and
auto-cleaning with rake reports:prune job)
I make a reports:prune:orphaned, juste in case, but without any success.
The most recent change on the server was the puppetmaster upgrade from
3.0.2 to 3.1.0.
Here is the dashboard error log
2010 Jan 05
1
Errno::ENETUNREACH (Network is unreachable - connect(2)):
I am trying to run my first app on the Solaris server, in a production
environment. I get a network unreachable. Why? Does it belongs to
database.yml config?
Processing CategoriesController#index (for 10.3.70.129 at 2010-01-05
14:00:47) [GET]
Errno::ENETUNREACH (Network is unreachable - connect(2)):
/usr/ruby-enterprise/lib/ruby/1.8/net/http.rb:560:in `initialize''
2014 Feb 27
0
Error custom_require.rb line 36
Hi,
I've moved a project on new server with ruby 1.9.1 but now I've an
error:
Error message:
cannot load such file -- test/unit/error
Exception class:
LoadError
Backtrace:
# File Line Location
0 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in
`require'
1 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb 36 in
`require'
2
2010 Feb 25
0
Ruby on Rails application could not be started
Hi,
Hi,
I''m upt o install retrospectiva on my centOS 5 machine. Therefore, i
installed ruby 1.9.1 (ruby 1.9.1p376 (2009-12-07 revision 26041)
[x86_64-linux]) and following gems:
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
fastthread (1.0.7)
mysql (2.8.1)
passenger (2.2.10)
rack (1.0.1)
rails (2.3.5)
rake