similar to: Encoding::UndefinedConversionError on a simple file upload (rvm, MRI-1.9.2-p0, rails 3.0.1, apache+passenger)

Displaying 20 results from an estimated 1200 matches similar to: "Encoding::UndefinedConversionError on a simple file upload (rvm, MRI-1.9.2-p0, rails 3.0.1, apache+passenger)"

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''
2012 Jan 27
2
dealing with Encoding::UndefinedConversionError: "\xA2" from ASCII-8BIT to UTF-8
I''m 99% certain that this is what''s being discussed in https://github.com/tenderlove/mechanize/issues/168 But I''m not sure what the remedy is. My production app is running on Heroku, so I need a fix that I can push there. Can someone post instructions that this neophyte can follow? (I gather I''m supposed to fork and add the current master version from
2012 Nov 12
1
undefined method `original_filename' for nil:NilClass
Hi, although I saw this problem in other blogs, I couldn''t make it works. My view: *<%= semantic_form_for :routes_status_race, :url => status_race_admin_routes_path do |f| %>* * <% contact_array = Contact.all.map {|contact| [contact.name, contact.id]}%>* * <% route_importer_array = RouteImporter.all.map {|importer| [importer.name, importer.id]}%>* * <%=
2010 Aug 23
3
Unable to upload images using native rails file upload
I am a rails newbie and am trying to build my first app. I have a jobs and categories controller and models respectively. CONTROLLER: def new @job = Job.new @catergory = Catergory.all respond_to do |format| format.html # new.html.erb format.xml { render :xml => @job } end end #THIS IS A group of 10 RADIO_BUTTONS TO SELECT A CATEGORY FROM. BY DEFAULT THE FIRST
2013 Feb 02
0
[LLVMdev] Moving return value registers from MRI to return instructions
MachineRegisterInfo is maintaining a list of live-out registers for the MachineFunction. It contains the return value registers, and is typically created by XXXISelLowering::LowerReturn(). Various passes after instruction selection need to look at this list to determine which physical registers are live in return blocks. Eventually, the register allocators copy these live-out registers onto the
2016 Sep 23
2
Misuse of MRI.getRegClass in multiple target's FastIsel code
This code or subtle variations of it appears in multiple targets. It tries to convert from a register to a register class using getRegClass, but getRegClass is really supposed to take a register class enum value and get the register class object for it. It doesn't convert a register to a class. In fact there's not always a single or canonical class for a given register. What is the right
2010 May 17
0
ActiveResource 3 on MRI 191: NameError (uninitialized constant Builder::XmlBase::Symbol)
We''ve run into this before and, in this particular project, I''m positive we had a hack somewhere to get AR to work but it seems to have gone missing and I''m not finding any hints in git history or Google. Any call to an AR.create will trigger it. Seems like a strategically placed require or include did the trick but I''m probably misremembering. The offending
2011 Mar 16
2
Increased memory and cpu usage when migrating from MRI 1.8.6 to REE 1.8.7
Hello, We''ve been migrating our fairly large Rails 1.2 application from MRI 1.8.6 to REE 1.8.7, and in the process we''ve encountered some fairly odd behavior. Namely, instead of the expected reduction in memory usage, we''re seeing an increase in memory usage by around 40% and, along with it, an increase in processor usage. The stock 1.8.7 implementation performs
2011 Mar 25
1
undefined method `init' for Mysql:Class on Mac with rvm and Passenger 3
I tried to find some help in the Passenger group without luck. I would not like to use mysql2 gem (it gives an error too) because in production I have to use mysql gem anyway. I moved to Passenger 3 and I am not able to run a Rails 2 and a 3 apps. They both uses Passenger 3 (latest) and ree 2011.03. The Rails 2 app gives uninitialized constant MysqlCompat::MysqlRes The Rails 3: NoMethodError
2011 Sep 04
2
Encoding error
I create scaffold and trying to save text with cirllic symbols i recieved: Encoding::UndefinedConversionError: U+043F from UTF-8 to US-ASCII: my database charset is utf8 in database.yml encoding:utf8 why rails is still trying to convert text to ascii? what should i do to save my data in utf8? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Jan 23
1
Force UTF-8 encoding
I''m writing an upload script for contact management, but having encoding issues: #=> Encoding::UndefinedConversionError: "\xFA" from ASCII-8BIT to UTF-8 I will not always know the encoding supplied, and this is the result of `some_string.encode("UTF-8")` I have also tried .force_encoding("UTF-8") to no avail. For now I''m simply trying to
2011 Jan 13
9
[RVM,Ubuntu]ruby installed from rvm doesn't work
I''ve installed ruby1.9.2 from rvm but ruby doesn''t work on my ubuntu there is a picture showing my situation. plase give me a help http://postfiles4.naver.net/20110114_51/sukury47_1294944222409RbBlv_JPEG/rvm_break.JPG?type=w3 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2011 Jan 13
0
rails 3 Mail encoding issue
[Rails 3 - Ruby 1.9.2] I have to get email attachments ( mp4 files ) and store them... I get easily all parts using Mail ( .... <Content-Type: multipart/ mixed...."> ) attachment = mail.attachments[0] #<Mail::Part:2206885940, Multipart: false, Headers: <Content- Type: video/mp4; name=landscape.mp4>, <Content-Transfer-Encoding: base64>,
2012 Dec 12
6
issues with puppet 3.0.1 using ruby 1.9.3 and passenger (3.0.18)
I have installed puppet 3.0.1, passenger 3.0.18 and ruby 1.9.3 and have hit errors. The error I am hitting is this: Error message:cannot load such file -- puppet/util/command_lineException class:LoadError I get this when hitting the puppet server using https://puppetserver:8140 If I use ruby 1.8, everything works. This is a new deployment so I would like to use ruby 1.9.3 rather than the
2011 Jan 17
6
Can't install mongrel with ruby 1.9.2p136
Hi, I''m getting this error message when I try to install Mongrel with "gem install mongrel" on Windows 7 x64 gem install mongrel Successfully installed mongrel-1.1.5-x86-mingw32 1 gem installed Installing ri documentation for mongrel-1.2.0.pre2-x86-mingw32... Installing EDoc documentation for mongrel-1.2.0.pre2-x86-mingw32... ERROR: While executing gem...
2010 Jan 18
2
Can't get gem bundler to work with either rvm 1.9.1 and 1.9.2
I installed the bundler, no problem - but it seems to have screwed up my gem repository in both cases!? What to do? kristian-mandrups-macbook-pro:~ kristianconsult$ sudo gem install thor /Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/lib/ rubygems_plugin.rb:2:in `require'': no such file to load -- bundler/ commands/bundle_command (LoadError) from
2011 Jul 06
5
Monkey patching a gem (rails_admin, with Rails 3)
Hi. I''m trying to monkey patch the rails_admin gem. First, I tried to add a file in config/initializers containing: RailsAdmin::MainController.class_eval do def get_sort_hash CODE HERE... end end It was only loaded once, and then the method from the gem was always executed instead of mine. I also tried to add the code in lib/ with the correct line in config/application.rb to load
2012 Nov 06
2
puppet 3.0.1 Server and passenger
Hi Everyone; I am stumped. I am simply trying to upgrade from puppet 3.0.0 to puppet 3.0.1 master (rhel6) I have followed the precise steps I used when I installed 3.0.0 to migrate to Passenger, but for some reason, I know cannot get it running. There are no useful errors in the logs that I can find either. Please Help! p.s. I have already made the required changes to the config.ru file --
2005 May 22
0
Using patch -p0 <meetme-diff-cbmysql_1.txt produces 'malformed patch' message
I have googled for several hours and have read several threads but I have not found an answer yet. I have downloaded asterisk-1.0.7 and WebMeetMe-Gui. I have tried to use the diff file 'meetme-diff-cbmysql_1.txt' to add the changes needed for WebMeetMe-Gui. Using 'patch -p0 <meetme-diff-cbmysql_1.txt' in the apps directory returns: patching file app_meetme.c patch: ****
2005 May 22
0
Using patch -p0 <meetme-diff-cbmysql_1.txtproduces 'malformed patch' message
That patch is very small, so if you need to you could manually apply the patch. All it adds is callerId to the "meetme list confno" command. It is based on 1.0.7, and I did apply it to a clean tree to verify it, but I am also the first to admit that I am new to using diff/patch, so I may have done it wrong. Dan -----Original Message----- From: asterisk-users-bounces@lists.digium.com