Displaying 20 results from an estimated 700 matches similar to: "Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher"
2013 Oct 07
0
ruby script/plugin install ...
I am trying to migrate a rails app from the rails 2.x world (which was the
last time I worked with rails) and I''m trying to run the command:
ruby script/plugin install
git://github.com/activescaffold/active_scaffold.git --force
which returns:
/home/user/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in
`require'': cannot load such
2013 Nov 26
2
'$ rake db:create' don't work!
Hey guys,
I''m new to learning RoR and I try to do a database with mysql and I
have a problem.
First I create a a folder in my desktop and after with command in the
terminal on Mac Os Mavericks I create a project:
rails new vota_prato -d mysql
after I will try to create a database with this command:
$ rake db:create
and I have this error:
MacBook-Pro-de-Romenig:vota_prato romenig$ rake
2013 Jun 18
2
`require': cannot load such file -- nokogiri (LoadError) in rubyXL
Hi All
Getting the below error when running the source code
My requirement is : I want read / write the excel sheet ( both xls / xlsx )
from Ruby , if you have any other solution also share with me ..
*Source Code :*
*
*
*
bash-3.2$ cat rubyXL.rb
require ''rubyXL''
workbook = RubyXL::Parser.parse("test.xlsx")
workbook = RubyXL::Workbook.new
sheet_Name =
2013 Oct 23
9
rails generate scaffold - ERROR
Hi,
I just installed ROR using the rvm using these instructions:
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
Using Ubuntu 12 on VirtualBox
I''m trying to create a demo_app
rails generate scaffold User name:string email:string
gives me this error:
--
/home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in
`autodetect'': Could not
2011 Feb 28
1
Regression with many independent variables
Hi,
I am trying use lm() on some data, the code works fine but I would
like to use a more efficient way to do this.
The data looks like this (the data is very sparse with a few 1s, -1s
and the rest 0s):
> head(adj0708)
MARGIN Poss P235 P247 P703 P218 P430 P489 P83 P307 P337....
1 64.28571 29 0 0 0 0 0 0 0 0 0 0
0 0 0
2 -100.00000 6 0 0
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
I''ve installed Puppet and am installing Dashboard on CentOS 6. I''m running
into an ''undefined method'' when installing the dashboard. To install
Puppet Open Source, I ran:
> rpm -ivh
2013 Sep 02
1
Problem with Filling Tables.
I have an application that has models for beer styles.
Every beer style will have a name and description. It will also contain
a list of beer models.
Every beer model will contain a name.
I want my application to fill in the list of styles with some default
data.
#Beer migration file:
class CreateBeers < ActiveRecord::Migration
def change
create_table :beers do |t|
t.string
2013 Aug 12
2
Passenger-Rack error 500: no such file to load -- rack
I have a puppetmaster running within passenger+rack. It has been running
properly for almost a year and decided to stop working on the weekend. Now
I''m getting the Purple "Ruby (Rack) application could not be started"
screen with
Error: no such file to load -- rack
Application: /data1/rack/puppetmaster
The backtrace is uninspiring. Snippets include:
2014 Jun 07
0
Multitenancy with Rails and rspec
Hello, I am following this book Multitenancy with Rails. Has anyone here
read this book or can shed light on the issue?
When I run rspec i get following errors
rspec spec/features/accounts/sign_up_spec.rb
C:/Users/J/RubymineProjects/subscribem/spec/dummy/config/environments/test.rb:1:in
`<top (required)>': undefined me
thod `configure' for #<Dummy::Application:0x416fe08>
2014 Feb 06
0
Google Geolocation
Hi folks. Trying to get google-geo to work, but I am seeing errors.
#!/usr/bin/ruby
require 'Google-geo'
mykey = 'blahblahblah'
addy1 = '1600 Amphitheatre Parkway, Mountain View, CA' # 37.42246, -122.08394
geo = Google::Geo.new mykey
res = geo.locate addy1
puts res.coordinates
...and the error:
2013 Nov 18
1
wrong number of arguements (1 for 0) on ActiveRecord::Base#send
So I''m not exactly using Rails, but just ActiveRecord. Though I felt
this would be more appropriate in the Rails forum than the general Ruby
forum.
I''m working on an app that interacts with databases, without having a
database of its own.
I have a class called Modeller, and a Modeller#retrieve_model(name)
method that takes a name, looks for a table matching that name, creates
a
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
2010 Sep 09
4
Unicorn fails to restart gracefully on capistrano deploy
First off thanks very much for all the hard work on unicorn. Alas, we''ve encountered an issue where unicorn fails to spawn new workers that have loaded the incoming revision on a capistrano deploy. I''m not entirely sure the issue is due to unicorn as it appears that bundler was responsible for a similar issue in the past:
2006 Dec 21
0
how does capistrano get the ENV?
I don''t have the same environment variables with a capistrano task as I
do with a conventional ssh session.
When I ssh in and try "env" I see my GEM_HOME and GEM_PATH environment
variables from my ~/.bash_profile (I also have a .gemrc file).
But when I try "cap shell" and "env" I don''t see the GEM_HOME and
GEM_PATH environment variables.
How do I
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys,
I wanted to fetch some info from webpage and use it in my db. I read
hpricot is one way to do it. But the problem is I''m unable to use it
with my app. For some reason after successfully installing hpricot it
fails when I try to use it in the rails console.
I''ve been trying to fix this for the last four-five days. I''m stumped !
I tried re-installing everything
2010 Dec 11
2
Problem using rvm in bash script
I am using rvm installed on Ubuntu 10.04 as recommended in the rvm
docs (including changes to .bashrc) and all is working well with
several versions of Rails, and Ruby 1.8.7 and 1.9.2.
If I run
rvm use 1.9.2
it says
Using /home/colinl/.rvm/gems/ruby-1.9.2-p0
and if I run
rvm info
It shows exactly what I would expect for 1.9.2 and I can start the
rails server and all is well.
The problem arises if
2007 Jul 31
2
Camping-list Digest, Vol 15, Issue 2
Eli,
This is interesting. I enabled DEBUG logging in Apache and tailed the
error.log. Lo and behold, you''re right, its a problem with one of my
require statements. Namely:
`gem_original_require'': no such file to load -- camping/fastcgi (LoadError)
Strange, it works fine when I do it in IRB, or do it from a ruby script at
the bash prompt. Apache runs as the same user that
2005 Dec 18
8
Invoking Rails from an API
Hi,
I am trying to use ruby int an embedded web server. The environment
does not have the luxury of CGI or WebBrick. I find limited
documentation on how to get this to work. As a test program on windows,
I tried the code in the section below.
I have the issues.
1. Is public/dispatch.rb the right script to invoke a rails app? If
so, what is the right way to invoke dispatch.rb?
2.
2013 Jul 02
2
PSON and JSON
HI,
i''m currently trying to connect a rails app using the "her" gem/library
(since active ressource is gone since rails 4) to Puppet''s REST API.
Now, "her" or activeressource both speak json, while Puppet speaks pson,
which should be nearly the same according to some posts here.
Communication already works but it seems that the response objects are not
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