Displaying 20 results from an estimated 10000 matches similar to: "gem question on hosted service"
2009 Feb 09
9
fastercsv, freezing into vendor/gems
I''m using fastercsv such that in my rake file I''m doing this.
require ''fastercsv''
It works fine on my Mac.
I need to freeze this gem into the app though so my rake tasks work on
the production machine.
-----------
I spent about two hours though this weekend trying to get this Gem
"frozen" into the vendor/gems folder. I tried all sorts,
I ...
-
2006 Aug 03
5
Cannot find gem for Rails error from dispatch.cgi
Hi All,
I''m developing a Rails app with Rails v1.1.4, but when I upload it to
Dreamhost and try to serve it with dispatch.cgi, I get the error "Cannot find
gem for Rails =1.1.4". However, I have installed the 1.1.4 gem in my home
directory and set GEM_PATH to look there; additionally, rake throws no errors
and "rails -v" displays "Rails 1.1.4". Any
2004 Aug 04
4
Concatenating variables
Hi all:
I'm having difficulty with something I believe is very simple, but I'm
stuck. I have a large data frame that took days to clean and prepare.
All I now need to do is concatenate three variables into a single
column. For example, I have tenn$up, tenn$down, and tenn$stable which
all have values of 1 or 0. I simply want to put all three columns
together to create a pattern (e.g.,
2012 Dec 03
10
Starting rails server problem
Still fairly new to Ruby and Rails in general and trying to figure out
how to address this error. I recently migrated to a new computer and
now I get this error message when I try to start the rails server.
-bash: /Users/user1/.rvm/gems/ruby-1.9.3-p125/bin/rails:
/Users/user/.rvm/rubies/ruby-1.9.3-p125/bin/ruby: bad interpreter: No
such file or directory
I know what the problem is and
2004 Aug 03
2
attach data from tapply to dataframe
I am working with a longitudinal data set in the long format. This data
set has three observations per grade level per year. Here are the first
10 rows of the data frame:
>tenn.dat[1:10,]
year schid type grade gain se new cohort
6 2001 100005 5 4 33.1 3.5 4 3
7 2002 100005 5 4 33.9 3.9 4 2
8 2003 100005 5 4 32.3 4.2 4 1
10 2001 100005
2009 Jun 17
12
FasterCVS and Rails
Hello all,
I''m trying to import some csv data (that has latin characters) using
faster csv but I keep getting a MalformedCSVError:
"Unclosed quoted field on line 1."
"/ruby/lib/ruby/gems/1.8/gems/fastercsv-1.2.3/lib/faster_csv.rb:1592:in
`shift''"
I''ve tested the same code outside of the Rails application an it works
fine.
Can anyone help me?
Here is
2008 Apr 15
4
Version Control (and gems)
1. Full version control of a web app would include the constellation
of gems actually used. I can do ''gem list'' and put that into a file
in version control but that could include unused gems. That is, it
could include gems use by other projects.
And putting the whole gem in version control seem like overkill since
the authors do that. But it might be safer.
Do we have a
2006 Apr 11
18
Rails 1.1 in Production
My hosting company is still supporting only Rails 1.0. I have installed
Rails 1.1.2 to my vendor directory and deployed it in production which
should mean that my application should be using the Rails version in my
vendor diretory. But It looks like its still using local gem libraries, here
is the error from dispatch.fcgi when I try and invoke my app
NoMethodError (undefined method
2008 Jan 29
4
Setting up release-1.0.1
Hello,
I am unable to get the backgroundrb server to run.
Initially I got:
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in
`load_missing_constant'': uninitialized constant
BackgrounDRb::MasterProxy (NameError)
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in
2006 Aug 16
2
installing fastercsv into vendor directory
I am using fastercsv to process input files. I want to install it into
my app/vendor directory as a gem (I guess). I used ''rake
rails:freeze:gems'' to get rails into the vender dir. But I cannot find
any doc on how to do it for fastercsv or any third-party gem. Any help
appreciated.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all!
I''m trying to deploy an application out to a subdomain at dreamhost. I am
getting the dreaded "Rails application failed to start properly" error. The
logs for my app are empty. In the DreamHost FTP app, when I look in the
error.log file (I''m guessing this the Apache error log file) I see the
following for each of my attempts:
[Sun Jul 16 12:36:32 2006]
2007 Feb 08
1
mongrel cluster and local gems loading problem
Hello,
I''m trying to augment the GEM_PATH to load gems from ~/.gem/ using this
at the begging of the rails application config/environment.rb file:
ENV[''GEM_PATH''] = File.expand_path(''~/.gem'')
This works fine from within script/console:
$ script/console
>> require ''pdf/writer''
=> true
But when I try to run:
2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I
have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I
have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when
I try to restart Unicorn I get the following error.
/usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems
/core_ext/kernel_require.rb:45:in
2006 Jul 29
1
Debian - plugins being installed to the wrong place?
Hi,
I''ve been moving my app from my development environment (my laptop
running OSX) to my test environment (a dedicated Debian box in a
datacentre somewhere).
All seems to be OK except ruby Plugins don''t seem to work. When I go to
a page which uses a plugin I get errors... e.g.
uninitialized constant Paypal
Same happens with other plugins I''m using e.g. FasterCSV
2007 Feb 27
5
Camping on Dreamhost - Please Help!
Hi Folks,
I''ve been trying to get camping up and running on dreamhost for the
past six hours, but have had no success. I''d really appreciate any
suggestions!
The camping gem is on the dreamhost server, but just to make sure it
wasn''t a dependency issue causing all the problems, I installed
camping + the full set of dependencies in my own gem directory (both
are on the
2006 Aug 16
6
Experience with ferret on Dreamhost ?
Does anybody have experience with running ferret on dreamhost ?
My app is running ok until I install the acts_as_ferret plugin, at which
point I get "Rails application failed to start properly" errors. I''ve
used script/console to confirm that I can require ''ferret'' and make a
new Index object . Everything appears to be ok in that respect.
Unfortunately
2006 Mar 29
4
xmlsimple not found
I''ve been working through the Flickr tutorial, and it looks like I
installed the Flickr gem with the require xml-simple gem without
problems. But when I got to the point in the demo when it was time to
submit the form, I got an error with the message "uninitialized constant
Flickr".
I did some poking around at the gem repository, and ran ''ruby
2009 Jun 13
3
How Can I insert another column data into the CSV file when I use FasterCSV?
Hi, All,
Suppose I have a CSV file, there is data in it.
* Column 1 Column2 Column 3 Column 4
Row1 a b c
Row2 a2 b2 c2*
You know, the column 4 is no data
Now, I would like to insert data to Column 4, after save, the CSV file will
be:
* Column 1
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2006 May 17
6
newbie wants to know..FasterCSV or just CSV?
I''m trying to grab a CSV file from a user and let them upload it
directly to my database, but doing some minor checks on the data before
saving. Which is the easier way to implement this? CSV or FasterCSV? I
saw that perhaps there were some issues with FasterCSV and csv files
created from Mac versions of Excel.
Anyone have any experience with this and can recommend a newbie friendly