Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
def create | |
# current_user = User.first | |
if moment_params.empty? | |
render status: 406, nothing: true and return | |
else | |
@moment = Moment.new(moment_params) | |
@moment.user_id = current_user.id | |
if @moment.save | |
render "moments/show", status: 201 and return | |
else |
✘ rever@rever1.1.1.1 ~/Desktop sudo rvm install ruby Local 9:47PM ▸▸▸▸▸▸▸▸▸▸ | |
Password: | |
Searching for binary rubies, this might take some time. | |
No binary rubies available for: osx/10.9/x86_64/ruby-2.0.0-p353. | |
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. | |
Checking requirements for osx. | |
Installing requirements for osx. | |
Updating system. | |
Installing required packages: openssl.......... | |
Error running 'requirements_osx_brew_libs_install openssl', |
public class Book{ | |
private int numPages=0; | |
private float price=0.0f; | |
private String author=""; | |
private String title=""; | |
private boolean checkedOut=false; | |
public Book(int a,float b,String c,String d){ | |
numPages=a; | |
price=b; | |
author=c; |
/* */ import java.awt.BorderLayout; | |
/* */ import java.awt.Font; | |
/* */ import java.awt.GridLayout; | |
/* */ import javax.swing.JApplet; | |
/* */ import javax.swing.JButton; | |
/* */ import javax.swing.JLabel; | |
/* */ import javax.swing.JPanel; | |
/* */ | |
/* */ public class Lab8A extends Panel | |
/* */ { |
import javax.swing.JFrame; | |
import javax.swing.JLabel; | |
import javax.swing.JPanel; | |
public class MainClass extends JPanel { | |
public MainClass() { | |
JLabel lblMarried = new JLabel("Are you married?", JLabel.LEFT); | |
JLabel lblGolf = new JLabel("Do you play golf?", JLabel.RIGHT); | |