similar to: Rails newbie on Debian: require ''pathname'' error

Displaying 20 results from an estimated 10000 matches similar to: "Rails newbie on Debian: require ''pathname'' error"

2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
I''ve started getting the following error on Dreamhost when trying to run any scripts or dispatch.* [barry]$ ruby -d script/server Exception `LoadError'' at ./script/../config/boot.rb:6 - no such file to load -- pathname ./script/../config/boot.rb:6:in `require'': no such file to load -- pathname (LoadError) from ./script/../config/boot.rb:6 from
2006 Jul 10
3
Receiving mail - "No such file to load -- pathname"
I''m using postfix in OS X to receive mail and forward it to my rails app. When it tries to feed the email into rails, it fails with the following error: "/Users/jon/Developer/OneMod/script/runner ''MailMan.receive (STDIN.read)''". Command output: /Users/jon/Developer/OneMod/script/../config/ boot.rb:7:in `require'': No such file to load --
2009 Dec 06
3
virtual domains and SSL certificates
Hi, This topic has been discussed before e.g: <QUOTE> On 2008-08-07, at 1143, Kacper Wysocki wrote: The problem is that the configuration file specifies only one certificate file for dovecot, which means only one Common Name, which means one cannot provide one server cert that will match mail.foo.com AND mail.bar.com, and either ma... at foo.com or bo... at bar.com will get a
2006 Aug 12
3
Capistrano deployment pathname error
When I try to do a deployment with Capistrano I get the error "No such file to load -- pathname" when Cap tries to execute reaper. Any ideas what''s causing this or how I can troubleshoot it? (Output follows.) Thanks. Evan -----BEGIN OUTPUT----- [evans-powerbook:~/Desktop/asktheguys] evan% clear ; rake remote:deploy (in /Users/evan/Desktop/asktheguys) loading
2006 Feb 27
1
Config Error Puzzle
Can somebody help me get this right please. I'm trying to upgrade to version 1 and I get this error which I can't workaround: expecting "=" on line 33 Line 33 is the passdb file name ?? I'm trying this with 1.0 beta3 on a Devil linux system (v 1.2.9). Thanks Dick -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name:
2008 Jan 05
0
[ wxruby-Bugs-16826 ] samples/aui/aui.rb segfault induced by adding require ''pathname''
Bugs item #16826, was opened at 2008-01-05 00:53 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=16826&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: samples/aui/aui.rb segfault induced by adding require ''pathname''
2007 Feb 17
1
LDA plugins mail_plugin_dir
The LDA option mail_plugin_dir isn't by any chance like PATH i.e. can have more than one directory? I want to pick up some plugins from /usr/lib and some from elsewhere. Thanks Dick
2011 Sep 12
1
Dsync and hidden files
Hi, I'm in the process of changing from Dovecot v1 to v2 and changing to mdbox in the process. I've come across a little problem which I was hoping there would be a workaround for. There are sieve config files in the home directories which are hidden files. Dsync croaks when it finds one of these because they are not mbox format. It would be nice if they were ignored (or copied
2011 Mar 03
1
Does RSpec interfere with Pathname#dirname or Pathname#realpath ?
Hi, I starting a new project, and have run into behavior I cannot replicate in irb, (i.e. outside of using rspec) when the directory? returns true, so I thought I''d ask here, in case any one has seen this badhavior. ruby-1.9.2-p136 rspec (2.5.0) rspec-core (2.5.1) rspec-expectations (2.5.0) rspec-mocks (2.5.0) When I try to run this spec: require Pathname(__FILE__).ascend { |d|
2007 Feb 08
1
deliver LDA permission problem
Hello, I'm trying to get deliver LDA working with postfix in a virtual domain configuration. I'm using dovecot v1.0.rc10. My setup is pretty much exactly as in the wiki (only the path to deliver and auth-master socket are different). I'm having a little problem with permissions and this occurred which I think is undesirable: syslog: Feb 8 13:09:35
2007 Mar 31
1
Too long pathname in bitmap() crashes R on WinXP
Hi, using too long pathnames for bitmap() crash R on WinXP. I've verified that this is the case with R version 2.4.1 Patched (2007-03-25 r40958) and R version 2.5.0 alpha (2007-03-30 r40957). I cannot reproduce it on Linux. REPRODUCIBLE EXAMPLE: % Rterm --vanilla # Tell R where Ghostscript is gsexe <- "C:/gs/gs8.54/bin/gswin32c.exe"; gsexe <- "C:/Program
2006 Jun 02
4
Web app developed in WInXP want to run on Linux
Hi All, I have developed a web application using RoR on Window-XP. Now my server is on linux and want to get this running on linux machine. I tried starting the server but it failed to boot in boot.rb at this line: unless RUBY_PLATFORM =~ /mswin32/ require ''pathname'' root_path = Pathname.new(root_path).cleanpath(true).to_s end so I changed(even though the file says
2006 Jul 26
1
lesson learned: script/runner does not abort on failed require
After a fresh installation of an application, some utility scripts run with script/runner quietly aborted right after their start. No error message whatsoever, just a new shell prompt. The reason was an uninstalled dependecy, but that was difficult to determine because the load failure was not reported: % ruby script/runner ''require "foobarbaz"'' % Why
2006 Oct 21
1
Kernel.require behavior
Is it correct that Kernel.require returns (1) true if the file was successfully required (and wasn''t already loaded), (2) false if it was successfully required (but was already loaded), or (3) throws a LoadError if it couldn''t be successfully required. I claim that the rdoc is misleading and should be corrected as it says:
2023 Apr 03
4
Simple Stacking of Two Columns
Hi R-Helpers, Sorry to bother you, but I have a simple task that I can't figure out how to do. For example, I have some names in two columns NamesWide<-data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly")) and I simply want to get a single column
2023 Apr 03
1
Simple Stacking of Two Columns
Hi, You were on the right track using stack(), but you just pass the entire data frame as a single object, not the separate columns: > stack(NamesWide) ? values ? ind 1 ? ?Tom Name1 2 ? Dick Name1 3 ?Larry Name2 4 ?Curly Name2 Note that stack also returns the index (second column of 'ind' values), which tells you which column in the source data frame the stacked values originated
2023 Apr 04
1
Simple Stacking of Two Columns
Just to repeat: you have NamesWide<-data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly")) and you want NamesLong<-data.frame(Names=c("Tom","Dick","Larry","Curly")) There must be something I am missing, because NamesLong <- data.frame(Names = c(NamesWide$Name1, NamesWide$Name2)) appears to
2010 Dec 08
1
Newbie - want to view code for a function
Brand new to R Want to understand the algorithm used in yule-walker time series autoregression model I assume there is a way to see the source for ar.yw I also assume that everybody except me knows how Could someone suggest to me how to find out I've looked thru some of the documenttion - there's a lot - and apparently I haven't looked the right place. Thanks in advance Dick
2006 Jan 20
2
what''s the right way to require a file?
I''m having a problem importing a class from another project (not a RoR application). What''s the right way to require such a file? I have a class ModelPathwayObject. It''s in #{RAILS_ROOT}/../lib/model_pathway_object.rb , so I add that path to config.load_paths. In config/environment.rb: Rails::Initializer.run do |config| config.load_paths += %W(
2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
Hi, in help("R_GSCMD") it says "R_GSCMD: Optional. The path to Ghostscript, used by dev2bitmap, bitmap and embedFonts. Consulted when those functions are invoked.". However, if 'R_GSCMD' contains a full pathname to the Ghostscript executable (as above "path" indicates), e.g. > Sys.getenv("R_GSCMD") [1] "C:\\Program